Chapter 7, Developing applications over TCP/IP using Internet sockets
Socket types (Internet domain)

Socket types (Internet domain)

A socket has a type and one or more associated processes. Sockets are typed by the communications properties visible to the programmer. Usually a socket type is associated with the particular protocol which the socket supports. Processes usually communicate between sockets of the same type.

Three types of sockets are available to the programmer: