* Socket.cs: Update Connected state in Select and Poll; this is
when we find out that non-blocking Connects succeed. Fixes bug
62398.
svn path=/trunk/mcs/; revision=31862
* Socket.cs: Don't try and dereference a null array in Select()
(possible if a descriptor list of length 0 was passed.) Patch by
Nick Vaughan ([email protected]), fixes bug 61595.
svn path=/trunk/mcs/; revision=31178
* PeerCred.cs: Get the unix socket peer credentials.
2004-07-09 Dick Porter <[email protected]>
* Socket.cs: Slight tweak to allow unknown objects to be returned
by GetSocketOption().
svn path=/trunk/mcs/; revision=30928
* Socket.cs: only enable socket AIO if MONO_ENABLE_SOCKET_AIO is there.
I will remove this once THE bug is hunted.
svn path=/trunk/mcs/; revision=26507
* Socket.cs: added support for unmanaged asynchronous IO. Speed up
error checking.
* UdpClient.cs: fixed Dispose so that it only closes the socket when
called explicitly.
svn path=/trunk/mcs/; revision=26110
* Socket.cs: added GetSupportsAsync and Poll_internal internal calls.
Cleaned up Worker class: moved fields to SocketAsyncResult and use Poll
when the socket is non-blocking before getting EWOULDBLOCK error.
svn path=/trunk/mcs/; revision=25914
* Socket.cs: when Dispose (bool) is called from the finalizer, always
do the cleanup. Fixes yet another nullref with xsp.
svn path=/trunk/mcs/; revision=24387
* Socket.cs: added locks around waithandle assign and comparison in
class Worker. Handle other exceptions than SocketException for
non-blocking sockets.
svn path=/trunk/mcs/; revision=23005
* Socket.cs: handle WSAEWOULDBLOCK for non-blocking sockets. Fixes
bug #53168. Avoid the creation of the ManualResetEvent in class Worker
whenever possible.
svn path=/trunk/mcs/; revision=22470
* Socket.cs: if we have a pending async event, delay socket closing
until EndX is called. Fixes bug #53229. Check parameters and if the
socket has been disposed. Implemented IDisposable explicitly. The
threads created have IsBackground = true now.
svn path=/trunk/mcs/; revision=22464
* System_test.dll.sources: added SocketTest.cs
* System.Net.Sockets/Socket.cs: fix for several asynchronous methods to
delay exception throwing.
* Test/System.Net.Sockets/SocketTest.cs: new test for asynchronous
connection failure.
Test+fix by Brad FitzpatrickBrad Fitzpatrick <[email protected]>.
svn path=/trunk/mcs/; revision=21562
* Socket.cs: patch from Elan Feingold <[email protected]>. Fixes
NullReferenceException when the callback is null.
svn path=/trunk/mcs/; revision=12056
* Socket.cs: make Worker.Connect and Receive work with non-blocking
sockets. May be Receive* and Send* in Worker need to do the same. I'll
wait for bug reports. Set IsCompleted to true before invoking the end
callback. Fixes bug #38136.
svn path=/trunk/mcs/; revision=11629
* Socket.cs: Fix deadlock when the AsyncResult callback calls
End*(). Set the async request's worker property so it can return
results. These two fixes combined fix bug 28092.
svn path=/trunk/mcs/; revision=6808
* Socket.cs: Make SetSocketOption cope with boolean values (they
are passed as objects, not the ints the runtime was expecting)
svn path=/trunk/mcs/; revision=5427
* System.build: Start build System.Net.Sockets.Socket.cs,
TcpClient.cs and TcpListener.cs
2002-01-23 Dick Porter <[email protected]>
* SocketException.cs: Implemented
* Socket.cs: Implemented most methods
* LingerOption.cs: Made compile
* AddressFamily.cs: Removed empty auto-generated comments
2002-01-23 Dick Porter <[email protected]>
* SocketAddress.cs: Implemented.
* IPEndPoint.cs: Turned 'Address' field into a real property.
Implemented Create() and Serialize() methods.
* IPAddress.cs: Fixed class constructor, turned 'Address' field
into a real property. Removed undocumented "public
IPAddress(string)" constructor.
* EndPoint.cs: Implemented. All methods return
NotSupportedException to enforce subclass overriding.
* Dns.cs: Replaced fixed-layout Hostent struct and cygwin
P/Invokes with portable internal calls.
2002-01-23 Dick Porter <[email protected]>
* Win32Exception.cs: implement, with support for looking up
runtime errors.
2002-01-23 Dick Porter <[email protected]>
* Marshal.cs: Added GetLastWin32Error()
* ExternalException.cs: Implemented
2002-01-23 Dick Porter <[email protected]>
* System.Xml/XmlNode.cs: Fixed IndexerName attribute so it
compiles under .net 1.0
2002-01-23 Dick Porter <[email protected]>
* Linux.cs: GetFileTime and SetFileTime need to be static
2002-01-23 Dick Porter <[email protected]>
* ManualResetEvent.cs:
* AutoResetEvent.cs: Fixed DOS line endings
svn path=/trunk/mcs/; revision=2127
style elsewhere in class libraries. Comments added.
* TcpListener.cs: Same
* Socket.cs: Filled out methods and properties and commented most of
them.
svn path=/trunk/mcs/; revision=1439