Example usage for Java org.apache.commons.net EchoTCPClient fields, constructors, methods, implement or subclass
The text is from its open source code.
EchoTCPClient() The default EchoTCPClient constructor. |
void | connect(InetAddress host) Opens a Socket connected to a remote host at the current default port and originating from the current host at a system assigned port. |
void | disconnect() Disconnects the socket connection. |
InputStream | getInputStream() Returns an InputStream from which you may read echoed data from the server. |
OutputStream | getOutputStream() Returns an OutputStream through which you may write data to the server. |
void | setDefaultTimeout(int timeout) Set the default timeout in milliseconds to use when opening a socket. |