org.apache.commons.net
public class DiscardTCPClient extends SocketClient
connect
and call getOutputStream()
to
retrieve the discard output stream. Don't close the output stream
when you're done writing to it. Rather, call
disconnect
to clean up properly.
Field Summary | |
---|---|
static int | DEFAULT_PORT The default discard port. |
Constructor Summary | |
---|---|
DiscardTCPClient()
The default DiscardTCPClient constructor. |
Method Summary | |
---|---|
OutputStream | getOutputStream()
Returns an OutputStream through which you may write data to the server.
|
DEFAULT_PORT
.
disconnect
to clean up properly.
Returns: An OutputStream through which you can write data to the server.