-->

What are sockets?

- A socket is defined as endpoint for communication, a pair of sockets is used by the pair of processes.

- It is made of IP address chained with a port number.

- They use the client server architecture.

- Server waits for incoming client requests by listening to specified port.

- On reception of request, server accepts connection from client socket to complete the connection.