A socket is one of the most fundamental technologies of computer network programming . It is a way of connecting two nodes on a network to communicate with each other. Socket-based software usually runs on two separate computers on the network, but sockets can also be used to communicate locally (interprocess) on a single computer.
The Java Socket Programming has two sections.
Java Server Socket Program
Java Client Socket Program
More on.... Java Socket Programming