Class SimpleTestServer
java.lang.Object
org.newsclub.net.unix.demo.SimpleTestServer
A simple demo server.
Sends a hello message (as a string), then reads back a response string.
Finally, sends integers (via
DataOutputStream) from 1 to 5, expects an integer response
of twice the sent value each, then sends a "-123" magic number to indicate the end of the
conversation.- Author:
- Christian Kohlschütter
- See Also:
-
Method Summary
-
Method Details
-
main
- Throws:
IOException
-