https://bugs.winehq.org/show_bug.cgi?id=50955 --- Comment #3 from Bernhard <besentv(a)gmail.com> --- After further investigation I found out that TerminateProcess() ends up calling sock_destroy() inside wineserver. This function closes a socket normally causing it to enter the TIME_WAIT state which makes binding a new socket to the same port impossible for some time, however on Windows TerminateProcess() closes the connection with a RST, ACK package. A first solution I found to this issue is to set the socket's linger time to 0 seconds before the call to shutdown() inside sock_destroy(), though I'm not sure if it's a good one. -- 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.