[Mono-bugs] [Bug 47848][Nor] Changed - TcpListener.Pending always returns true
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 24 Aug 2003 06:51:12 -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:44:54.000000000 -0400
+++ shadow/47848.tmp.505 2003-08-24 06:51:12.000000000 -0400
@@ -51,6 +51,16 @@
}
------- Additional Comments From juancri@tagnet.org 2003-08-24 06:44 -------
Created an attachment (id=5198)
Test
+
+------- Additional Comments From juancri@tagnet.org 2003-08-24 06:51 -------
+I found the error. I didn't call the Start() method. But the Pending
+method should produce an error:
+
+From Microsoft Doc:
+InvalidOperationException The listener has not been started with a
+call to Start.
+
+Now the Peding method returns "true".