Package netscape.net

Class NetworkClient

java.lang.Object
netscape.net.NetworkClient
Direct Known Subclasses:
TransferProtocolClient

public class NetworkClient extends Object
This is the base class for network clients.
Version:
1.21, 08/07/97
Author:
Jonathan Payne
  • Field Details

    • serverSocket

      protected Socket serverSocket
      Socket for communicating with server.
    • serverOutput

      public PrintStream serverOutput
      Stream for printing to the server.
    • serverInput

      public InputStream serverInput
      Buffered stream for reading replies from server.
  • Constructor Details

    • NetworkClient

      public NetworkClient(String host, int port) throws IOException
      Create connection with host host on port port
      Throws:
      IOException
    • NetworkClient

      public NetworkClient()
  • Method Details