Re: dbus-daemon on Windows: Failed to bind socket "localhost:59367": Address already in use

Thomas Sondergaard <ts-2vlBz+Gd9o2sRyR5/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
On 2015-01-03 18:48, Thiago Macieira wrote:
> On Saturday 03 January 2015 14:22:56 Thomas Sondergaard wrote:
>> +              /* Depending on kernel policy, it may or may not
>> +              be neccessary to bind to both IPv4 & 6 addresses
>> +              so ignore EADDRINUSE here */
>> +              tmp = tmp->ai_next;
>
> This feature is called IPV6_V6ONLY.
>
> If you want to bind to both addresses, make sure to setsockopt and set the
> feature off.

Thanks. I just took that fragment from the unix version of the function. 
It would be a great idea to simplify it.

Regards,
Thomas


_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.