$OpenBSD: patch-mcs_class_System_System_Net_Sockets_Socket_cs,v 1.1 2009/09/06 07:25:27 ajacoutot Exp $
--- mcs/class/System/System.Net.Sockets/Socket.cs.orig	Thu Jul  2 22:22:52 2009
+++ mcs/class/System/System.Net.Sockets/Socket.cs	Tue Sep  1 14:25:03 2009
@@ -1278,7 +1278,7 @@ namespace System.Net.Sockets 
 			}
 
 			int error = 0;
-			if (!blocking) {
+//			if (!blocking) {
 				SocketAddress serial = end_point.Serialize ();
 				Connect_internal (socket, serial, out error);
 				if (error == 0) {
@@ -1290,15 +1290,16 @@ namespace System.Net.Sockets 
 					connected = false;
 					req.Complete (new SocketException (error), true);
 				}
-			}
+//			}
 
-			if (blocking || error == (int) SocketError.InProgress || error == (int) SocketError.WouldBlock) {
+/*			if (blocking || error == (int) SocketError.InProgress || error == (int) SocketError.WouldBlock) {
 				// continue asynch
 				connected = false;
 				Worker worker = new Worker (req);
 				SocketAsyncCall sac = new SocketAsyncCall (worker.Connect);
 				sac.BeginInvoke (null, req);
 			}
+*/
 
 			return(req);
 		}
