Class ClientTest


  • public final class ClientTest
    extends Object
    Tests TCPClient. This will test the client until the user doesn't want to connect to any more servers.
    Since:
    JTalker 0.1.0
    Version:
    0.0.1
    Author:
    C. William Oswald
    • Method Detail

      • main

        public static void main​(String... args)
        Starts the test. This will ask the user for a user name, a host address, and then automatically connect to the server specified. Once they exit, it will ask if they want to join another server. If they do, the process repeats. If not, the client shuts down and the application is exited. The port the socket binds to is 5000.
        Parameters:
        args - Not used.