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@winehq.org ReportedBy: yiourkas@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.