The Bytecode Club

Full Version: Java Echo Server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
CR Echo Server is a low-level non-blocking echo server.

It will echo-back the contents of the buffer if it has reached 1024 characters, or encountered a carriage return.

Click here to view the project source code

How To Use

You can run the Java Jar file directly, or you can use it as a library
Code:
CREchoServer server = new CREchoServer(7, 1);
server.start();

Using telnet you can easily test the server.

Code:
telnet localhost 7