Java NIO and TCP Connections: Difference between revisions
Jump to navigation
Jump to search
(→Server) |
|||
Line 11: | Line 11: | ||
==Server== | ==Server== | ||
The server will use a Selector | |||
==Client== | ==Client== |
Revision as of 17:44, 25 July 2018
Internal
Overview
This article describes the programming model involved in establishing a simple TCP connection and interacting with it with non-blocking I/O, from Java. We use Java NIO APIs, introduced in Java 4.
Programming Model
Server
The server will use a Selector