Author: gonzalo
Date: 2005-04-15 19:50:42 -0400 (Fri, 15 Apr 2005)
New Revision: 43086

Modified:
   trunk/mcs/class/System/System.Net.Sockets/ChangeLog
   trunk/mcs/class/System/System.Net.Sockets/Socket.cs
Log:
2005-04-15 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

        * Socket.cs: added a 'blocking' field that is passed to the runtime.



Modified: trunk/mcs/class/System/System.Net.Sockets/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Net.Sockets/ChangeLog 2005-04-15 23:22:53 UTC 
(rev 43085)
+++ trunk/mcs/class/System/System.Net.Sockets/ChangeLog 2005-04-15 23:50:42 UTC 
(rev 43086)
@@ -1,3 +1,7 @@
+2005-04-15 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+       * Socket.cs: added a 'blocking' field that is passed to the runtime.
+
 2005-04-09 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
 
        * Socket.cs: invoke the callback after scheduling the next request for

Modified: trunk/mcs/class/System/System.Net.Sockets/Socket.cs
===================================================================
--- trunk/mcs/class/System/System.Net.Sockets/Socket.cs 2005-04-15 23:22:53 UTC 
(rev 43085)
+++ trunk/mcs/class/System/System.Net.Sockets/Socket.cs 2005-04-15 23:50:42 UTC 
(rev 43086)
@@ -77,7 +77,7 @@
 
                        bool completed_sync;
                        bool completed;
-                       AsyncCallback real_callback; /* unused */
+                       bool blocking;
                        int error;
                        SocketOperation operation;
                        object ares;
@@ -85,6 +85,7 @@
                        public SocketAsyncResult (Socket sock, object state, 
AsyncCallback callback, SocketOperation operation)
                        {
                                this.Sock = sock;
+                               this.blocking = sock.blocking;
                                this.handle = sock.socket;
                                this.state = state;
                                this.callback = callback;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to