// registered by the same method for both the client and server.
Network.register(client);
client.addListener(new Listener() {
public void connected (Connection connection) {
RegisterName registerName = new RegisterName();
registerName.name = "meow";
client.sendTCP(registerName);
}
public void received (Connection connection, Object object) {