Paul Evans > Socket-GetAddrInfo > Socket::GetAddrInfo::Emul

Download:
Socket-GetAddrInfo-0.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.21   Source   Latest Release: Socket-GetAddrInfo-0.21_003

NAME ^

Socket::GetAddrInfo::Emul - Pure Perl emulation of getaddrinfo and getnameinfo using IPv4-only legacy resolvers

DESCRIPTION ^

Socket::GetAddrInfo attempts to provide the getaddrinfo and getnameinfo functions as specified by RFC 2553. Ideally this is done by some XS code that calls the real functions in libc. If for some reason this cannot be done; either there is no C compiler, or libc does not provide these functions, then they will be emulated using the legacy resolvers gethostbyname, etc... These emulations are not a complete replacement of the real functions, because they only support IPv4 (the AF_INET socket family). In this case, the following restrictions will apply.

getaddrinfo

getnameinfo

AUTHOR ^

Paul Evans <leonerd@leonerd.org.uk>

syntax highlighting: