* TcpClient.cs: If the Connect fails (when given an array of
addresses) leave the socket object in a usable state. Fixes bug
355473.
svn path=/trunk/mcs/; revision=94523
Dispose, only nullify client if network stream was not obtained.
Fixes bug #81105.
* TcpClientTest.cs: Added test for bug #81105.
svn path=/trunk/mcs/; revision=74062
* TcpClient.cs: 2.0 profile updates, based on a patch by Sridhar
Kulkarni ([email protected])
2007-01-23 Dick Porter <[email protected]>
* TcpClientTest.cs: Test 2.0 Connect(IPAddress[], port) overload
svn path=/trunk/mcs/; revision=71557
* TcpClient.cs: when the socket is not connected, don't try to set the
socket options, as they are ignored on linux. Wait until Connect
succeeds and then apply the options.
svn path=/trunk/mcs/; revision=57216
* TcpClient.cs: patch by Hans Kratz that uses an integer when setting
NoDelay instead of a bool, which is only handled in 2.0.
svn path=/trunk/mcs/; revision=45576
* TcpClient.cs: Fix void Dispose (bool disposing) to follow the
pattern. It was shutting down the managed resources even in the
finalizer case, it should only do that when called from
IDisposable.Dipose.
svn path=/trunk/mcs/; revision=19238
property, which now sets stream to null (it's set by GetStream()). This
should make GetStream() work on a TcpClient which has had the socket set
by assignment to the Client property, not only one that has been created
by TcpListener.AcceptTcpClient().
svn path=/trunk/mcs/; revision=8753
* UdpClient.cs and TcpClient.cs: modified disposable routines, added
checks for disposed state.
* UdpClient.cs: commented out GetHashCode and Equals as it's not
overriden in ms.net implementation.
2002-05-17 Jaroslaw Kowalski <[email protected]>
* TcpClient.cs: fixed SetTcpClient so that
TcpListener.AcceptTcpClient works and allows
you to call GetStream() on its result
svn path=/trunk/mcs/; revision=4711
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