Java NIO and TCP Connections: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:


=Overview=
=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.


[[Image:JavaNIOAndTCPConnections.png]]
[[Image:JavaNIOAndTCPConnections.png]]

Revision as of 17:42, 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.

JavaNIOAndTCPConnections.png

Example

Playground Java NIO and TCP Connections