public void connect()
 {
     client = new MultiBoxDriver();
     client.connectClient(ip, port);
     connected = true;
 }
 public void startServer()
 {
     initKeyDriver();
     client = new MultiBoxDriver();
     client.start(port);
     client.keybddriver = gw2KeyDriver;
 }