]> git.mxchange.org Git - simgear.git/commit
Make multicast sockets work under windows
authorTorsten Dreyer <Torsten@t3r.de>
Fri, 27 May 2011 19:06:06 +0000 (21:06 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Fri, 27 May 2011 19:06:06 +0000 (21:06 +0200)
commitb06e38699a4467cf99bdcfee6e906082e104b86a
tree47a442e07bf0cf636f3af33d856e57235eb772e7
parent3a07e2fe210f2e3969eded0c4ef117b0513ba197
Make multicast sockets work under windows

msdn article 737550 states that "the preferred method is to call the
bind function to associate a socket with a local IP address and then
join the multicast group. Although this order of operations is not
mandatory, it is strongly recommended".
Since binding to the multicast address seems to fail, let's try binding
to INADDR_ANY and joint thereafter.
simgear/io/raw_socket.cxx