Name
unpack_sockaddr_un
Synopsis
unpack_sockaddr_un (sockaddr_un
) sockaddr_un (sockaddr_un
)
Takes a Unix domain socket address structure (as
returned by sockaddr_un
) and
returns the pathname.
The following constants are defined in the Socket module:
INADDR_ANY
The four-byte packed string for the wildcard IP address that specifies any of the host’s addresses (if the host has multiple addresses). This is equivalent to
inet_aton('0.0.0.0')
.INADDR_BROADCAST
The four-byte packed string for the broadcast address. This is equivalent to
inet_aton('255.255.255.255')
.INADDR_LOOPBACK
The four-byte packed string for the loopback address. This is equivalent to
inet_aton('localhost')
.INADDR_NONE
The four-byte packed string for the “invalid” IP address (bitmask). Equivalent to
inet_aton('255.255.255.255')
.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.