[Bug 50499] SO_REUSEADDR compatibility problems

WineHQ Bugzilla wine-bugs at winehq.org
Mon Jul 26 16:50:05 CDT 2021


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

--- Comment #5 from Erich E. Hoover <erich.e.hoover at gmail.com> ---
(In reply to James from comment #4)
> So, if wine transposed the SO_REUSEADDR to a SO_REUSEPORT together with a
> SO_ATTACH_REUSEPORT_CBPF  that had a bpf that returns zero. It might
> actually work.

That is my understanding of how that option works, though I have not tested it
myself.  Because the filter is so easy it shouldn't be too hard to test it. 
The code related to that other bug has been moved into the server now, but it
gives a good example of how to make a much more complicated filter:
https://source.winehq.org/source/server/sock.c#1726

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