public void Connect() { if (client.IsConnected || server.IsConnected) { return; } client.Connect(); server.OpenServer(); server.Listen(this); _isConnected = true; }
public void Connect() { server.OpenServer(); client.Connect(); _isConnected = true; }