[Mono-bugs] [Bug 47848][Wis] New - TcpListener.Pending always returns true
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 24 Aug 2003 06:42:51 -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 juancri@tagnet.org.
http://bugzilla.ximian.com/show_bug.cgi?id=47848
--- shadow/47848 2003-08-24 06:42:51.000000000 -0400
+++ shadow/47848.tmp.448 2003-08-24 06:42:51.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 47848
+Product: Mono/Class Libraries
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: Gentoo
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: juancri@tagnet.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: TcpListener.Pending always returns true
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Run the test
+
+Actual Results:
+True
+
+Expected Results:
+False
+
+How often does this happen?
+Always
+
+Additional Information:
+
+using System;
+using System.Net;
+using System.Net.Sockets;
+
+class Test
+{
+ public static void Main ()
+ {
+ TcpListener listener = new TcpListener (Dns.Resolve
+("localhost").AddressList[0], 8023);
+ listener.Start ();
+ Console.WriteLine (listener.Pending ());
+ }
+}