Recent Post

Socket

  • The socket is the software abstraction used to represent the "terminals" of a connection between two machines.
  • Clients and server establish connections and communication via sockets , which are communication links that are created over the internet using TCP (or UDP)
  • Sockets are the endpoints of internet communication stream or channel (logical).
  • Clients create client sockets connect them to server sockets.
  • If two processes wish to communication they must each create a socket .Once created , the socket must then be bound to a specific network address.
  • One process must initiate the connection (This process is called the client). The other process must wait for a connection request (This process is the server).
  • The client start by trying to establish a connection with the listening socket at a server.

No comments