Class part2.chapter10.NBServer
All Packages Class Hierarchy This Package Previous Next Index
Class part2.chapter10.NBServer
java.lang.Object
|
+----part2.chapter10.NBServer
- public class NBServer
- extends Object
A singlethreaded nonblocking server that echos data between two client
TCP connections.
-
NBServer()
-
-
main(String[])
- Accepts two client connections and then proceeds to echo data between
the clients using a nonblocking read method readNB().
NBServer
public NBServer()
main
public static void main(String args[]) throws IOException
- Accepts two client connections and then proceeds to echo data between
the clients using a nonblocking read method readNB().
- See Also:
- readNB
All Packages Class Hierarchy This Package Previous Next Index