* SocketAsyncEventArgs.cs: catch SocketException in ConnectAsync
and set the SocketError accordingly.
svn path=/trunk/mcs/; revision=105581
+2008-06-11 Stephane Delcroix <sdelcroix@novell.com>
+
+ * SocketAsyncEventArgs.cs: catch SocketException in ConnectAsync
+ and set the SocketError accordingly.
+
2008-05-09 Marek Habersack <mhabersack@novell.com>
* SocketAsyncEventArgs.cs: implemented support for executing
curSocket.Connect (RemoteEndPoint);
curSocket.Connected = true;
}
+ } catch (SocketException se){
+ error = se.SocketErrorCode;
} finally {
SocketError = error;
OnCompleted (this);