[Mono-bugs] [Bug 38136][Nor] Changed - System.Net.Sockets.Socket exception when connecting

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sat, 15 Feb 2003 16:12:32 -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 dick@ximian.com.

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

--- shadow/38136	Sat Feb 15 12:16:20 2003
+++ shadow/38136.tmp.2244	Sat Feb 15 16:12:32 2003
@@ -124,6 +124,10 @@
 1433), new AsyncCallback (Callback), socket);
 
 instead of just socket.Connect ().
 
 BeginConnect works fine with the MS runtime and a non-blocking socket
 and mono does not.
+
+------- Additional Comments From dick@ximian.com  2003-02-15 16:12 -------
+In that case the async Connect method in Socket.cs should be catching
+the exception and Poll()ing for completion, not the runtime code.