https://bugs.winehq.org/show_bug.cgi?id=48668
--- Comment #12 from Bernat Arlandis berarma@hotmail.com --- (In reply to Paul Gofman from comment #11)
(In reply to Bernat Arlandis from comment #10)
That sounds perfectly reasonable but I'm not sure the developer will be interested on a fix for a platform they don't support.
I am not talking about doing anything specifically for Wine / Linux. My point is if the excessively used of getsockname() is not intentional the developers might want to change that regardless of Linux issues as it maybe can help some corner cases on Windows also. In other words, maybe it worth to just let them know.
I talked to the game developer as soon as you asked me to. They said it's in their bugtracker to investigate.
I've seen you've just submitted a patch in the wine-devel mailing list. I think pushing the issue from both sides would be good since there's something going on in that function call that doesn't happen on Windows and it might have unexpected implications for other apps. There might be something fundamentally wrong in the way this function is implemented either by Wine or Linux (unlikely), or it's just that Windows is doing the same caching you've implemented here.
Thanks!