IPaddress/FQDN?

Ish Rattan ishwar@REDACTED
Fri Feb 5 17:00:49 CET 2010


How does one specify the ipadress or domain-name of the
host in the following construct?

  {ok, Listen} = gen_tcp:listen(5901, [binary, {packet, 4},
                                 {reuseaddr, true}, {active, true}]),

  As above defaults to "localhost"

-ishwar


More information about the erlang-questions mailing list