void GameServer_OnClientConnect(ClientWrapper obj) { Client.GameClient client = new Client.GameClient(obj); client.Send(client.DHKeyExchange.CreateServerKeyPacket()); obj.Connector = client; //ref to my server client.MyServer = this; }