XS => [qw/ unpack_sockaddr_un unpack_sockaddr_in
sockatmark sockaddr_family pack_sockaddr_un
pack_sockaddr_in inet_ntoa inet_aton
- inet_ntop inet_pton
/],
+ # skip inet_ntop and inet_pton as they're not exported by default
},
};
package Socket;
our($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
-$VERSION = "1.86";
+$VERSION = "1.87";
=head1 NAME
as 'www.perl.org', or an IP address. If using an IP address, the type of
IP address must be consistant with the address family passed into the function.
+This function is not exported by default.
+
=item inet_ntop ADDRESS_FAMILY, IP_ADDRESS
Takes an address family, either AF_INET or AF_INET6, and a string
(an opaque string as returned by inet_aton() or inet_pton()) and
translates it to an IPv4 or IPv6 address string.
+This function is not exported by default.
+
=back
=cut
@ISA = qw(Exporter);
@EXPORT = qw(
inet_aton inet_ntoa
- inet_pton inet_ntop
sockaddr_family
pack_sockaddr_in unpack_sockaddr_in
pack_sockaddr_un unpack_sockaddr_un
@EXPORT_OK = qw(CR LF CRLF $CR $LF $CRLF
+ inet_pton
+ inet_ntop
+
IPPROTO_IP
IPPROTO_IPV6
IPPROTO_RAW