[erlang-questions] Noob Question ...

Valentin Micic v@REDACTED
Fri Mar 6 14:43:52 CET 2009


> The immediate thing that strikes me is that "127.0.0.1" should be
{127,0,0,1}. In gen_tcp (erlang in general) the address is a tuple not a
string.

This is not correct -- gen_tcp supports string as well as tuple for dotted
ip address specification

V.




More information about the erlang-questions mailing list