This article introduces the SocketChannel class and its basic usage. This class is defined in the java.nio package. 1. Standard Java sockets Socket programming involves two systems communicating with one another. In implementations prior to NIO, Java TCP client socket code is handled by the java.net.Socket class. A socket is one end-point of a two-way ...