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: