start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: sockaddr_in Chapter 13
Sockets
Next: Reference: unpack_sockaddr_in
 

sockaddr_un

sockaddr_un (

pathname

)
pack_sockaddr_un
 (

pathname

)

Takes one argument, a pathname, and returns the Unix domain socket address structure (the path packed in with AF_UNIX filled in). For Unix domain sockets, this structure is normally what you need for the arguments in bind , connect , and send , and is also returned by getpeername , getsockname , and recv .


Previous: Reference: sockaddr_in Perl in a Nutshell Next: Reference: unpack_sockaddr_in
Reference: sockaddr_in Book Index Reference: unpack_sockaddr_in

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.