[Mono-bugs] [Bug 70850][Wis] New - Fail to set Socket Timeout property

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 28 Dec 2004 12:43:52 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by tocsleung@so-net.com.hk.

http://bugzilla.ximian.com/show_bug.cgi?id=70850

--- shadow/70850	2004-12-28 12:43:52.000000000 -0500
+++ shadow/70850.tmp.7443	2004-12-28 12:43:52.000000000 -0500
@@ -0,0 +1,48 @@
+Bug#: 70850
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: tocsleung@so-net.com.hk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Fail to set Socket Timeout property
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+Unable to set Socket timeout property
+
+Steps to reproduce the problem:
+
+static void Main(string[] args)
+{
+TcpClient client = new TcpClient();
+client.SendTimeout = 1000;
+System.Console.WriteLine ("SendTimeOut = " + client.SendTimeout);
+client.ReceiveTimeout = 2000;
+System.Console.WriteLine("RecieveTimeOut = " + client.ReceiveTimeout);
+}
+
+Actual Results:
+SendTimeOut = 36471
+RecieveTimeOut = 36471
+
+
+Expected Results:
+SendTimeOut = 1000
+RecieveTimeOut = 2000
+
+How often does this happen? 
+Always return error while running under Mono 1.0.5
+but get he correct result under MS.Net platform
+
+Additional Information: