View RSS Feed

Java Socket

Socket programming and networking examples in Java.

  1. What Is a Socket?

    by , 04-25-2012 at 11:13 PM
    At some specific computer, server usually runs. It consists of a socket which remains bound to some particular port number. Serverís function is to hold or wait and listen to socket if some client sends the connection request.

    On the client-side: Client is aware of the machine at which server runs has a hostname and a port number at which server listens. Client makes an attempt at the machine and port of the server to rendezvous with server so that to make the connection request. ...