Sockets - Yousef's Notes
Sockets

Sockets

Provide a mechanism for two-way communication over network protocols (TCP, UDP) or within the same host via UNIX domain sockets. They are widely used for network communication and for Processes running on the same machine to communicate.