Socket
A socket is the endpoint of a network connection, defined by IP address and port. It enables communication between processes over TCP or UDP. Sockets are the foundation of almost all network programming; WebSockets enable bidirectional real-time communication.