Class DiscardTCPClient

    • Constructor Detail

      • DiscardTCPClient

        public DiscardTCPClient()
        The default DiscardTCPClient constructor. It merely sets the default port to DEFAULT_PORT .
    • Method Detail

      • getOutputStream

        public java.io.OutputStream getOutputStream()
        Returns an OutputStream through which you may write data to the server. You should NOT close the OutputStream when you're finished reading from it. Rather, you should call disconnect to clean up properly.
        Returns:
        An OutputStream through which you can write data to the server.