Socket programming and networking examples in Java.
Sockets provided communication channeled and support inter process communication in Java. For example to communicate between two JVMs, sockets are used. Socket is an end point for communication. There are two types of sockets. • Connection less sockets
• Connection oriented sockets
UDP protocol is used in the connection less sockets communication. Also they are referred as datagram communication protocol.
Each socket is indentified with following