[Mono-bugs] [Bug 78683][Wis] Changed - TcpListener Class not starting with service application

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jun 24 22:09:55 EDT 2006


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 robertj at gmx.net.

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

--- shadow/78683	2006-06-21 13:42:46.000000000 -0400
+++ shadow/78683.tmp.29697	2006-06-24 22:09:55.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 78683
 Product: Mono: Class Libraries
 Version: 1.0
 OS: Red Hat 7.0
 OS Details: Actually CentOS 4x (Not sure which RH it's based on)
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Wishlist
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: lee.jenkins at datatrakpos.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -139,6 +139,21 @@
     }
 
 ------- Additional Comments From lee.jenkins at datatrakpos.com  2006-06-21 13:42 -------
 Created an attachment (id=17208)
 Service class used when I ran into problem
 
+
+------- Additional Comments From robertj at gmx.net  2006-06-24 22:09 -------
+The while (!Alldone) loop is broken.
+
+Try this (untested):
+
+while (true)
+{
+  int i = stream.Read(bytes, 0, bytes.Length);
+  if (i == 0) break;
+  string s = System.Text.Encoding.ASCII.GetString(bytes, 0, i);
+  data += s;
+  if (s.Contains(ch)) break;
+}
+


More information about the mono-bugs mailing list