[erlang-questions] Differentiating between FQDN and IP addresses

Sachin Joshi djisthegreat@REDACTED
Fri Aug 18 16:30:24 CEST 2017


HI Team,

I am getting an input  in a program as 'ip address' or 'FQDN'. I need to
identify if it is an ipv4 or ipv6 or a hostname(fqdn).
Can someone help me in this?

Thanks,
Sachin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170818/4e60a432/attachment.htm>


More information about the erlang-questions mailing list