[erlang-questions] windows multicast

Gokhan Boranalp kunthar@REDACTED
Sat May 10 17:18:43 CEST 2014


Restart your computer.

On Sat, May 10, 2014 at 5:58 PM, "Jörg Maushake" <joerg.maushake@REDACTED> wrote:
> Hi list,
>  I am using erlang on windows 7.
>
>  When i start a multicast (the code is from nodefinder) like so:
>  Opts = [ { active, true },
>            { ip, {230, 0, 0, 1} },
>            { add_membership, { {230, 0, 0, 1}, { 0, 0, 0, 0 } } },
>            { multicast_loop, true },
>            { reuseaddr, true },
>            list
>          ],
>  { ok, RecvSocket } = gen_udp:open (4321, Opts),
>
>  i get this {error,eaddrnotavail}
>
>  Removing the tuple { ip, {230, 0, 0, 1} } from Opts seems to work!
> But when i then start another node on the same machine the error i get is:
> {error,eaddrinuse}
>
> (The multicast group and port works with java )
>
> Any suggestions ?
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



-- 
BR,
\|/ Kunthar



More information about the erlang-questions mailing list