[Bug 50955] .netCore app can't bind to port shortly after another .netCore program binding to the same port was terminated

WineHQ Bugzilla wine-bugs at winehq.org
Mon Feb 21 08:44:50 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=50955

--- Comment #5 from florian.will at gmail.com ---
Created attachment 71901
  --> https://bugs.winehq.org/attachment.cgi?id=71901
Patch that "fixes" this issue

This is one way to "fix" this issue, tested to work in ZusiDisplay, but it
feels like a terrible hack. It also introduces some test suite failures like
"bind succeeded unexpectedly" and EACCESS instead of EADDRINUSE error codes
(that last one could probably be fixed).

Bernhard mentioned another way to approach this, setting the SO_LINGER timeout
to 0 seconds when destroying the socket in wineserver (I haven't tested this).

Maybe there are more options?

-- 
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