How is 0.0.0.0 handled in Wine?

Ben Klein shacklein at gmail.com
Tue Jun 9 04:24:02 CDT 2009


2009/6/9 David Gerard <dgerard at gmail.com>:
> 2009/6/9 Ben Klein <shacklein at gmail.com>:
>> Only case that I can think of where 0.0.0.0 handling will break apps
>> is in lazy network programming.
>
> I am shocked, shocked to hear that there might be apps with lazy
> network programming! ;-p

I was going to say "extreme laziness" ...

>> On Windows, this would likely cause a catchable error. On Linux (at
>> least), the socket connection may succeed. I think someone said C&C3
>> is affected by this inconsistency between Linux and Windows INADDR_ANY
>> handling; this is probably why :P
>> Until someone demonstrates a real need for this (with appropriate test
>> cases) ...
>
> Apart from the test cases, didn't you just name a real app that needs this?

Well, I don't have C&C3, and I'm not going to get it just to prove it
expects a broken connection on 0.0.0.0 ;) Test cases are virtually
required for this.



More information about the wine-devel mailing list