Socket programming and networking examples in Java.
Socket is basically the software endpoint which creates a bi-directional communication b/w client programs & a server program. A server program is associated by the socket with specific hardware port present at machine at which it runs and client program present in network along with socket which is being associated to similar port might do communication with server program.
Resource is provided by a server program to the client program network. Requests are sent by the client