public static void Main(String[] args)
    {
        ChatBox chatBox = new ChatBox();

        if (args.Length == 0)
        {
            chatBox.ServerMain();
        }
        else
        {
            chatBox.ClientMain(args[0]);
        }
    }