Sockets | Sockets | |
Sockets in Linux System Programming | ||
Understanding the select system call in Linux | ||
Linux Tutorial - select() function (timeout) |
Makefiles, continued
Sockets
Domain | Communication | Communication | Address | Address |
AF_UNIX | performed | between applications | format | structure |
within kernel | on same host | pathname | sockaddr_un | |
AF_INET | via IPv4 | on hosts connected | 32-bit IPv4 address + | sockaddr_in |
via an IPv4 network | 16-bit port number | |||
AF_INET6 | via IPv6 | on hosts connected | 128-bit IPv6 address + | sockaddr_in6 |
via an IPv6 network | 16-bit port number |