Abstract

Author(s): Divya Singh, Pragun Arora, Rakshit, Saket Tomar

As a java programmer one might face networking using socket programming. A network-based system contains a server, client, and a media for communication and for such communication we use ?Sockets?. Sockets are interfaces that can "plug into" each other over a network. Once so "plugged in", the programs so connected communicate. In a two-way communication link between two programs running on the network socket is the one end point. The connection between a client program and a server program is represented by socket classes. Such programming is known as socket programming. To implement the client side of the connection and the server side of the connection, the java.net package of ?JAVA? provides two classes—Socket and Server Socket, that , respectively.