This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
Re: bind to multicast address fails
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-talk at cygwin dot com
- Date: Tue, 13 May 2014 13:36:17 -0400
- Subject: Re: bind to multicast address fails
- Authentication-results: sourceware.org; auth=none
- References: <53722A02 dot 5070201 at web dot de> <20140513145517 dot GS2436 at calimero dot vinschen dot de>
- Reply-to: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk at cygwin dot com>
- Reply-to: cygwin-talk at cygwin dot com
On Tue, May 13, 2014 at 04:55:17PM +0200, Corinna Vinschen wrote:
>On May 13 16:19, Moritz Warning wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> Hi,
>>
>> I try to bind a socket to a multicast address (239.192.202.5). But it fails with an error:
>> "Cannot assign requested address"
>>
>> Is this not supported using Cygwin? I've added a simple test program in case someone wants
>> to verify.
>
>It's a problem win the underlying Winsock (again). Maybe this discussion
>on stackoverflow helps you along:
>
>http://stackoverflow.com/questions/6140734/cannot-bind-to-multicast-address-windows
>
>Right now I have no inclination to workaround this problem in Cygwin.
>Maybe if you ping me again in a month or so. Of course, patches are
>always welcome...
I think that the current consensus is that everyone is tired about
excuses like "no inclination" or "no time" or "vacation" or "death in
the family" or "newborn baby". Frankly, I think if there is an issue
you should be fixing it. This issue has clearly been in the code for a
long time and, although it probably doesn't work on MSYS2, that should
be no excuse for not fixing it in Cygwin.
cgf