Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 57. Sockets: UNIX Domain > UNIX Domain Socket Addresses: struct sockadd...

57.1. UNIX Domain Socket Addresses: struct sockaddr_un

In the UNIX domain, a socket address takes the form of a pathname, and the domain-specific socket address structure is defined as follows:

struct sockaddr_un {
    sa_family_t sun_family;         /* Always AF_UNIX */
    char sun_path[108];             /* Null-terminated socket pathname */
};


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial