Socket API
An application reaches TCP and UDP through the operating system's socket interface, which first appeared in Berkeley UNIX and is now on nearly every system. A socket is an endpoint, named by a file descriptor, through which a process sends and receives data.