public LidgrenServer(Server server) : base( new NetServer( LidgrenPeer.CreateConfig( server.Configuration, server.ServerConfiguration.Port ) ), server ) { netServer = (NetServer)Peer; }
public LidgrenClient(Client client) : base(new NetClient(LidgrenPeer.CreateConfig(client.Configuration)), client) { netClient = (NetClient)Peer; }