https://bugs.winehq.org/show_bug.cgi?id=55799
--- Comment #6 from Patrick Littlefighter1996@googlemail.com --- (In reply to Zeb Figura from comment #5)
(In reply to temp82 from comment #4)
are you really using so old wine version? bugs should be reported against the latest development version of wine so fixes would land into future stable versions.
True, but IP_RECVIF still isn't implemented, so it's not a big deal.
I don't suppose you can give the name of a real application affected by this?
I would have to ask my boss first. (The application is still intended to be open-source, yet no final build has been released) It's a server application, which answers broadcasts of clients and sends them the info required to connect. (Think of it like a Quake lobby) To provide the appropriate IP address to the client on multi-network-adapter setups, it's necessary to perform a lookup.
I've noticed this during development on a Ubuntu (22.04) machine. (Which is running this old version of Wine).
For now, I can work around this, by using IP_PKTINFO and extracting the interface number from there, instead. This seems to work out just fine as a replacement.