Serge Aleynikov serge@REDACTED
Wed Apr 12 20:59:39 CEST 2006

While playing with the inet:ip/1 function I noticed that it can take an 
argument containing less than four octets.  What's the meaning of such a 
strange conversion like inet:ip("1.2.3")?

1> inet:ip("").
2> inet:ip("1.2.3").
3> inet:ip("1.2").
4> inet:ip("1").


Serge Aleynikov
R&D Telecom, IDT Corp.
Tel: (973) 438-3436
Fax: (973) 438-1464

More information about the erlang-questions mailing list