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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80962 --- shadow/80962 2007-02-26 15:09:46.000000000 -0500 +++ shadow/80962.tmp.11623 2007-02-26 15:09:46.000000000 -0500 @@ -0,0 +1,46 @@ +Bug#: 80962 +Product: Mono: Class Libraries +Version: 1.2 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: System +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: property 'Server' is not accessible for TcpListener object + +Description of Problem: +The Server property in the class System.Net.Sockets.TcpListener is not +accessible. This is probably an error since it is accessible in the +Microsoft .NET Framework version 2.0.50727. Mono will produce an error +when compiling using gmcs.exe. + +Steps to reproduce the problem: +1. Create a new System.Net.Sockets.TcpListener object. +2. Attempt to access the Server property. +example code: +===================================== +TcpListener listener = new TcpListener(Dns.GetHostAddress("127.0.0.1")[0], +8888); +int avail = listener.Server.Available; + +Actual Results: +error CS0122: 'System.Net.Sockets.TcpListener.Server' is inaccessible due +to its protection level + +Expected Results: +compile without error + +How often does this happen? +every time + +Additional Information: +Mono C# compiler version 1.2.3.1 (Windows) +gmcs.exe _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
