diff options
author | Dick Porter <dick@acm.org> | 2002-10-03 20:15:01 +0400 |
---|---|---|
committer | Dick Porter <dick@acm.org> | 2002-10-03 20:15:01 +0400 |
commit | b33a40df69703d380d387efd9010d0f8e54d20a1 (patch) | |
tree | a6c99ce24e5d483ee987a45a3ad0a162960cfe47 /mcs/class/System/System.Net.Sockets | |
parent | b5a59a3011da363123c4f0ba6a9918444e7f2947 (diff) |
2002-10-03 Dick Porter <dick@ximian.com>
* TcpClient.cs: NoDelay is a TCP option, not Socket
svn path=/trunk/mcs/; revision=7968
Diffstat (limited to 'mcs/class/System/System.Net.Sockets')
-rw-r--r-- | mcs/class/System/System.Net.Sockets/ChangeLog | 4 | ||||
-rwxr-xr-x | mcs/class/System/System.Net.Sockets/TcpClient.cs | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mcs/class/System/System.Net.Sockets/ChangeLog b/mcs/class/System/System.Net.Sockets/ChangeLog index c542a39e996..5299ea619b7 100644 --- a/mcs/class/System/System.Net.Sockets/ChangeLog +++ b/mcs/class/System/System.Net.Sockets/ChangeLog @@ -1,3 +1,7 @@ +2002-10-03 Dick Porter <dick@ximian.com> + + * TcpClient.cs: NoDelay is a TCP option, not Socket + 2002-09-16 Miguel de Icaza <miguel@ximian.com> * SocketFlags.cs: Add missing enumeration. diff --git a/mcs/class/System/System.Net.Sockets/TcpClient.cs b/mcs/class/System/System.Net.Sockets/TcpClient.cs index a6700373cfa..acae2b24cb9 100755 --- a/mcs/class/System/System.Net.Sockets/TcpClient.cs +++ b/mcs/class/System/System.Net.Sockets/TcpClient.cs @@ -136,12 +136,12 @@ namespace System.Net.Sockets { get { return (bool)client.GetSocketOption( - SocketOptionLevel.Socket, + SocketOptionLevel.Tcp, SocketOptionName.NoDelay); } set { client.SetSocketOption( - SocketOptionLevel.Socket, + SocketOptionLevel.Tcp, SocketOptionName.NoDelay, value); } } |