[erlang-questions] IPv6 error, which one ?

Pupeno pupeno@REDACTED
Tue Dec 5 00:40:12 CET 2006

I am open a socket like this: 

gen_udp:listen(1234, [{active, once}, inet6])

so it effectively opens all the interfaces, IPv4 and IPv6. In a system where 
there's absolutely no support for IPv6, what happens ? Does it work anyway or 
do I get an error ? if so, what error ?
I want to know because I those cases I should fallback to:

gen_udp:listen(1234, [{active, once}, inet])

Pupeno <pupeno@REDACTED> (http://pupeno.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20061204/0ea84ab7/attachment.bin>

More information about the erlang-questions mailing list