Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

2008-09-10 Bill Holmes <billholmes54@gmail.com>

	Backport of 112681.

	* Socket.cs : Adding a comment to provide locations where
	  changes to MonoSocketAsyncResult need to be synced.

	* Process.cs : Update the fields of ProcessAsyncReader to
	  match MonoSocketAsyncResult metadata/socket-io.h

	Code is contributed under MIT/X11 license.


svn path=/branches/mono-2-0/mcs/; revision=112683
  • Loading branch information...
commit d33e20924be8193235f574a1da78e7d44b229f21 1 parent beb8905
Bill Holmes authored
9 mcs/class/System/System.Diagnostics/ChangeLog
View
@@ -1,3 +1,12 @@
+2008-09-10 Bill Holmes <billholmes54@gmail.com>
+
+ Backport of 112681.
+
+ * Process.cs : Update the fields of ProcessAsyncReader to
+ match MonoSocketAsyncResult metadata/socket-io.h
+
+ Contributed under MIT/X11 license.
+
2008-09-09 Jonathan Pryor <jpryor@novell.com>
* TraceImpl.cs:
8 mcs/class/System/System.Diagnostics/Process.cs
View
@@ -1291,6 +1291,9 @@ sealed class ProcessAsyncReader
The following fields match those of SocketAsyncResult.
This is so that changes needed in the runtime to handle
asynchronous reads are trivial
+ Keep this in sync with SocketAsyncResult in
+ ./System.Net.Sockets/Socket.cs and MonoSocketAsyncResult
+ in metadata/socket-io.h.
*/
/* DON'T shuffle fields around. DON'T remove fields */
public object Sock;
@@ -1307,6 +1310,11 @@ sealed class ProcessAsyncReader
public int Size;
public int SockFlags;
+ public object AcceptSocket;
+ public object[] Addresses;
+ public int port;
+ public object Buffers; // Reserve this slot in older profiles
+ public bool ReuseSocket; // Disconnect
public object acc_socket;
public int total;
public bool completed_sync;
9 mcs/class/System/System.Net.Sockets/ChangeLog
View
@@ -1,3 +1,12 @@
+2008-09-10 Bill Holmes <billholmes54@gmail.com>
+
+ Backport of 112681.
+
+ * Socket.cs : Adding a comment to provide locations where
+ changes to MonoSocketAsyncResult need to be synced.
+
+ Code is contributed under MIT/X11 license.
+
2008-09-06 Atsushi Enomoto <atsushi@ximian.com>
* Socket.cs : (SocketAsyncResult) release byte buffer early so that
6 mcs/class/System/System.Net.Sockets/Socket.cs
View
@@ -82,6 +82,12 @@ struct WSABUF
private sealed class SocketAsyncResult: IAsyncResult
{
/* Same structure in the runtime */
+ /*
+ Keep this in sync with MonoSocketAsyncResult in
+ metadata/socket-io.h and ProcessAsyncReader
+ in System.Diagnostics/Process.cs.
+ */
+
public Socket Sock;
public IntPtr handle;
object state;
Please sign in to comment.
Something went wrong with that request. Please try again.