A socket is defined as an endpoint for communication. A pair of processes communicating over a network employs identify a pair of sockets-one for each process. A socket is identified by an IP address with a port number. This way we can able to identified the personal computer.   Sockets typically employ client-server architecture. The server listens to a specific port for incoming client requests. The server accepts a connection from the client socket after receiving a request to complete the connection. Severs implementing specific services (such as telnet, FTP, and I-HTTP) listen to well-known ports (a telnet server listens to port 23; an FT server listens to port 21; and a web, or HTTP, server listens to port 80). All ports below 1024 are considered well-known; we can use them to implement standard services. When a client process initiates a request for a connection, it is assigned a port by its host computer. This port is some arbitrary number greater than 1024.