https://bugzilla.novell.com/show_bug.cgi?id=419092


           Summary: Socket.Select() behaviour difference between linux and
                    osx.
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: Development


Created an attachment (id=234642)
 --> (https://bugzilla.novell.com/attachment.cgi?id=234642)
example program

It looks like Socket.Select() behaves differently on osx <> linux in the case
where a socket instance is placed in both the readlist, and the errorlist.
On osx, after having called socket.Listen(),  calling Socket.Select() with the
socket instance being in the read and errorlist,  the select call will return
once a connection is established, however it will return with empty readlist
and errorlists.

on linux, the resulting readlist is filled with the socket instance. (Which I
believe is the correct behaviour)

Below is a demo program that exhibits this behaviour for me.

Instructions to run:
normal compile & run, followed by:
telnet localhost 5656 in a different terminal.

Bye, Lucas.

PS This is my first bug report, please be gentle :)


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to