[Mono-bugs] [Bug 61763][Min] New - The TCPclient error takes about 42 seconds freezing the program for a considerable time

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 20 Jul 2004 11:01:07 -0400 (EDT)


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 greatbadboss@hotmail.com.

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

--- shadow/61763	2004-07-20 11:01:07.000000000 -0400
+++ shadow/61763.tmp.13013	2004-07-20 11:01:07.000000000 -0400
@@ -0,0 +1,57 @@
+Bug#: 61763
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: greatbadboss@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: The TCPclient error takes about 42 seconds freezing the program for a considerable time
+
+Description of Problem:
+The TCPclient error takes about 42 seconds freezing the program for a
+considerable time
+
+Steps to reproduce the problem:
+1. run this code :
+
+// project created on 7/20/2004 at 1:25 AM
+using System;
+using System.Net;
+public class MainClass
+{
+	public static void Main (string[] args)
+	{
+	again:
+		try
+		{
+			System.Net.Sockets.TcpClient dude = new
+System.Net.Sockets.TcpClient("www.leet.org",1337);
+			Console.WriteLine("suceeded");
+			
+		}
+		catch
+		{
+			Console.WriteLine("Failed");
+		}
+	goto again;
+	//	new MyProgram (args);
+	}
+}
+
+Actual Results:
+42 seconds time out
+
+Expected Results:
+1 second time out :D
+
+How often does this happen? 
+with every loop