public Client() { Tcp = new TCPBackend(this); Udp = new UDPBackend(this); Players = new ConnectedPlayerList(); }
public void Close() { Udp.Close(); Tcp.Close(); Udp = null; Tcp = null; }
public void Host() { Udp = new UDPBackend(this); Tcp = new TCPBackend(this); Tcp.Host(); Udp.Host(); }