Class SvrSocket



    Purpose

    Help the client socket to connect to the server socket.

    Functionality

    When a SvrSocket is initialized, a DataInputStream and a PrintStream is assigned to the socket.

    Structure

    A SvrSocket has a Socket and a DataInputStream and a PrintStream for that socket. Besides, it also has a boolean variable connectStatus to indicate the status of the connection.

    See also

    ServerConnection




    [Go to Class Index Table] [Go back to Program Architecture Diagram]
    [Source Code of ServerConnection.java]