Receive UDP Broadcast when opening UDP port on specific IP

Lucas Robsahm <>
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, {}}]).

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

Software Developer

Ericsson AB
Datalinjen 4
Linköping, Sweden
Phone +46107114134
Mobile +46761498595


This Communication is Confidential. We only send and receive email on the basis of the terms set out at<>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list