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.
No comments:
Post a Comment