[Mono-list] Fail to set socket send&receive timeout!

Dick Porter dick at ximian.com
Sat Dec 17 06:59:22 EST 2005

On Sat, 2005-12-17 at 16:00 +0800, li wrote:
> hello,
> I complie and run my program successful with mono base on
> windowsxp,but failed in redhat9.0.err info is: non-blocking socket
> would block! How to? Thanks a lot!

Linux kernels older than 2.6 do not support SO_SNDTIMEO and SO_RCVTIMEO.
Using a newer Linux distribution will fix your problem.

- Dick

More information about the Mono-list mailing list