public void ConnectServer(ConnectionSocket clientSocket) { if (OnConnectServer != null) { OnConnectServer(clientSocket); } }
public void RemoveConnection(ConnectionSocket conn) { this.Clients.Remove(conn); }
public void AddConnection(ConnectionSocket conn) { this.Clients.Add(conn); }
public void RemoveConnection(ConnectionSocket conn) { this.Clients.Remove(conn); }
public void AddConnection(ConnectionSocket conn) { this.Clients.Add(conn); }
public virtual ConnectionSocket AddConnection(Socket socket) { ConnectionSocket conn = new ConnectionSocket(this, socket); this.Clients.Add(conn); return conn; }