Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDick Porter <dick@acm.org>2002-10-03 20:15:01 +0400
committerDick Porter <dick@acm.org>2002-10-03 20:15:01 +0400
commitb33a40df69703d380d387efd9010d0f8e54d20a1 (patch)
treea6c99ce24e5d483ee987a45a3ad0a162960cfe47 /mcs/class/System/System.Net.Sockets
parentb5a59a3011da363123c4f0ba6a9918444e7f2947 (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/ChangeLog4
-rwxr-xr-xmcs/class/System/System.Net.Sockets/TcpClient.cs4
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);
}
}