Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 13. SocketsChapter 13
Sockets
Next: Reference: inet_ntoa
 

inet_aton

inet_aton (hostname)

Translates a hostname such as www.oreilly.com or 18.181.0.24 into a data structure (a four-byte string) used for socket addresses. If the hostname cannot be resolved, the function returns the undefined value.


Previous: 13. SocketsPerl in a NutshellNext: Reference: inet_ntoa
13. SocketsBook IndexReference: inet_ntoa



Banner.Novgorod.Ru