Net::SockAddr::Inet4 - IPv4 sockaddr
See Net::SockAddr
Creates object from ip in human-readable form and port. Dies if $ip is not a valid IPv4 address
$ip
Creates object from binary IPv4 address (4-byte string) and port.
Returns ip in human-readable form
Returns port
Return ip in binary form (4-byte string)
Pronin Oleg <syber@crazypanda.ru>, Crazy Panda LTD
You may distribute this code under the same terms as Perl itself.
To install Net::SockAddr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::SockAddr
CPAN shell
perl -MCPAN -e shell install Net::SockAddr
For more information on module installation, please visit the detailed CPAN module installation guide.