2008-05-09 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Fri, 9 May 2008 20:11:09 +0000 (20:11 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Fri, 9 May 2008 20:11:09 +0000 (20:11 -0000)
commita0fc121d398c22cc8ea53578ad8a5aeee40a0f91
treebbeded19206836ae606a767f63dd4b5b3490d525
parentb96871265b79a3e58b9745e4fbb3058730d7c1f6
2008-05-09  Marek Habersack  <mhabersack@novell.com>

* SocketAsyncEventArgs.cs: implemented support for executing
asynchronous socket actions, called from the new xxxxAsync methods
in Socket. The asynchronous operations do not use the ThreadPool
as I can't get the sample applications to work (send/receive
callbacks don't work) - it may change in the future.

* Socket.cs: implemented several xxxxAsync 2.0sp1 methods. The
ones not implemented for now are: ReceiveMessageFromAsync and
SendPacketsAsync. AcceptAsync doesn't perform the check for the
buffer size for now - need to implement runtime support for that.
Made several methods internal, so that they can be accessed from
SocketAsyncEventArgs code.

svn path=/trunk/mcs/; revision=102884
mcs/class/System/System.Net.Sockets/ChangeLog
mcs/class/System/System.Net.Sockets/Socket.cs
mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs