[Mono-bugs] [Bug 72185][Nor] Changed - Operation on non-blocking socket would block

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 11 Feb 2005 18:21:29 -0500 (EST)

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 gonzalo@ximian.com.


--- shadow/72185	2005-02-11 18:19:33.000000000 -0500
+++ shadow/72185.tmp.6718	2005-02-11 18:21:29.000000000 -0500
@@ -251,6 +251,31 @@
 The instructions to compile:
 mcs -t:library packet.cs
 mcs -r packet client.cs
 mcs -r packet server.cs
 Next time, please, use the 'Create A New Attachment' link in this page.
+------- Additional Comments From gonzalo@ximian.com  2005-02-11 18:21 -------
+The client produces:
+Unhandled Exception: System.OverflowException: Number overflow.
+in (unmanaged) 0x80b684f
+in <0x00004> (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_array_new_specific (intptr,int)
+in <0x00021> Packets.Data:Slice (byte[],int,int)
+in <0x000e3> Packets.Transfer:ReceiveData (System.Net.Sockets.Socket)
+in <0x000f9> Client:Main (string[])
+And the server:
+Listening @ for client connection ...
+Unhandled Exception: System.Net.Sockets.SocketException: Operation on
+non-blocking socket would block
+in <0x00071> System.Net.Sockets.Socket:Receive_nochecks
+in <0x00024> System.Net.Sockets.Socket:Receive (byte[])
+in <0x00046> Packets.Transfer:ReceiveData (System.Net.Sockets.Socket)
+in <0x000a9> Server:Main ()