[Mono-bugs] [Bug 35371][Nor] Changed - Setting ReceiveTimeout causes exception

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 16 Jul 2003 17:49:27 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lluis@ideary.com.

http://bugzilla.ximian.com/show_bug.cgi?id=35371

--- shadow/35371	Sat May 31 15:08:45 2003
+++ shadow/35371.tmp.27708	Wed Jul 16 17:49:26 2003
@@ -291,6 +291,11 @@
   }
 }
 
 
 
 
+
+------- Additional Comments From lluis@ideary.com  2003-07-16 17:49 -------
+Well, actually setsockopt and getsockopt expect a timeval struct for 
+SO_SNDTIMEO and SO_RCVTIMEO, and not an int. The following patch 
+fixes this problem. It works on Windows and on Linux. Ok to commit?