
Summary
The Java Sockets API is a robust, simple, and easy-to-use means for implementing net-
work communication in client and server applications.TCP client socket programming
is accessible using the Java Sockets API; requiring only knowledge of the Socket,
InputStream and OutputStream classes for the most basic implementation. More complex
implementations can leverage any of the available I/O stream classes to handle TCP
streams in unique and interesting ways.TCP server socket programming is also a
straightforward process.The ServerSocket class provides an easy-to-use API and leverages
the already-familiar Socket class to represent new client connections. ...