[Mono-list] Missing socket options: Main-Socket-Error: Protocol option not supported

webman at manfbraun.de webman at manfbraun.de
Thu May 5 19:37:48 UTC 2016


Hello !

I just hung at a problem with a networking tool. Although in the
docs, the io control looks missing.

I have the follwoing code (snippet), which bombs:

byte[] bTrue = new byte[4] { 1, 0, 0, 0 };
byte[] bOut = new byte[4] { 1, 0, 0, 0 }; 
sock.IOControl(IOControlCode.ReceiveAll, bTrue, bOut);	//BOMBS

Message:

Main-Socket-Error: Protocol option not supported

mono from 2.10 up to 4.0.4 (all on Debian).

Without this socket advise, my program does not recieve anything.

Any help woul be great. This proggi is part of my
to-linux migration and part of a security solution.

Thanks,
Manfred







More information about the Mono-list mailing list