The sockets system (also called Berkeley sockets) is part of the Winsock protocol, which is an application programming interface (API) commonly used to access the Internet.
To open a socket, three steps are taken.