Приглашаем посетить
Хомяков (homyakov.lit-info.ru)

Reference: sockaddr_un

PreviousChapter 13
Sockets
Next
 

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.


PreviousHomeNext
Reference: sockaddr_inBook IndexReference: unpack_sockaddr_in