[erlang-questions] Beginner: Windows UDP multicast receive

Scott Gregory scott.gregory@REDACTED
Wed Jun 25 14:26:15 CEST 2008


Thanks for the reply, but no real change - is anybody using UDP multicast
receive successfully on Windows ?

I presume that below the "Addr" is the Multicast-address ?

And LAddr is either my actual IP or ... ?

Do I not need the {multicast_loop,true} ?

Thanks!
Scott



-----Original Message-----
From: mog [mailto:mog-lists@REDACTED] 
Sent: June 24, 2008 2:51 PM
To: Scott Gregory
Cc: erlang-questions@REDACTED
Subject: Re: [erlang-questions] Beginner: Windows UDP multicast receive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I believe you are missing {active, false}.

On my gnu/linux box the following works
~    {ok, Socket} = gen_udp:open(Port, [binary, {active, false}, 
{reuseaddr, true}, {ip, Addr}, {add_membership, {Addr, LAddr}}]),

hope this helps
mog
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIYUICeq+tARrxhnsRAgkUAKCd0xQtNPk8Qix/U4ExFKo59VwizwCeLRIw
aBEvP9W8M8cpJNjmI8gG2gE=
=t8VN
-----END PGP SIGNATURE-----




More information about the erlang-questions mailing list