When you know a thing, to hold that you know it, and when you do not know a thing, to allow that you do not know it - this is knowledge. -Confucius-

Tuesday, October 30, 2012

Java Socket Programming

Sockets in some kind of device (basically a computer) provide the communication mechanism between two devices(computers) using TCP. A client program which represent the client end creates a socket (virtual) on its end of the communication and attempts to connect that socket to a server.  When the connection is made, the server creates a socket object(virtual) on its end of the communication. Here server...