public RelaySocket(Socket s, RelayServer server) { this.client = s; this.server = server; //Thread t = new Thread(this.listen); //t.Start(); server.registerClient(this); }
public void setServer(RelayServer s) { this.server = s; }