Sunday, January 27, 2008

What Is a Socket in Java?

A socket is one end-point of a two-way communication link between the two programs running on the network respectively. Socket classes are used to correspond to the connection between a client program and a server program in java. The java.net package has two classes--Socket and ServerSocket--that implement the client side of the communication link or connection and the server side of the connection, correspondingly.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home