[Bug 13474] New: Network sockets: Unable to create two server sockets in the same wine session

wine-bugs at winehq.org wine-bugs at winehq.org
Tue May 27 06:53:08 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=13474

           Summary: Network sockets: Unable to create two server sockets in
                    the same wine session
           Product: Wine
           Version: 1.0-rc2
          Platform: PC-x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: winsock
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: yiourkas at gmail.com


I was having some issues while running warcraft III online. I noticed that I
only received message from some players and not from everyone. I investigated a
little bit into this.

It seems that within the same wine session, you cannot bind the same port
twice, even if the first server socket is closed.

I created a test program which had the following flow:

Create a server socket
Accept a socket connection by a client (telnet on linux in my case)
--do some stuff--
Close the client socket, close the server socket
Create another server socket bound on the same port

At this point I get an exception that the address is already used, however no
one is using it (telnet on linux replies with connection refused)

I don't know what else I have to paste in order to help you.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list