You can read the JavaDoc documentation for NBIO here . A subclass of java.io.InputStream which supports nonblocking semantics. A subclass of java.io.OutputStream which supports nonblocking semantics. NonblockingSocket A subclass of java.net.Socket which supports nonblocking semantics. NonblocingServerSocket A variant of java.net.ServerSocket which supports nonblocking semantics.
Connection accept is nonblocking.
It can use either blocking or nonblocking sockets, and reports both round-trip latency and bandwidth for a given message size. The MultiServer program is a benchmark which implements a simple TCP server which supports many connections. It exchanges a series of packets which each client that connects to it. The benchmark reports the total bandwidth measured by the server. The MultiClient program is used as the client.