Receive UDP Broadcast when opening UDP port on specific IP

Lucas Robsahm lucas.robsahm@REDACTED
Tue Aug 24 14:44:48 CEST 2010


I can't receive UDP Broadcast when I open UDP port on a specific IP.
If I open it without specific IP or open the x.x.x.255 IP I do receive the UDP broadcast.
If I open the x.x.x.255 IP or without specific IP, only one erlang-instance per computer can listen to the UDP broadcast so that's no solution.

Can't receive UDP broadcast:
gen_udp:open(123, [{ip, {123.123.123.123}}]).

Can receive UDP broadcast:
gen_udp:open(123, []).
gen_udp_open(123, [{ip, {123.123.123.255}]).



LUCAS ROBSAHM
Software Developer

Ericsson AB
FJL/NT
Datalinjen 4
Linköping, Sweden
Phone +46107114134
Mobile +46761498595
lucas.robsahm@REDACTED
www.ericsson.com


[cid:image002.gif@REDACTED]


This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer<http://www.ericsson.com/email_disclaimer>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20100824/670407dc/attachment.htm>


More information about the erlang-questions mailing list