protected void CallOnDisconnect(NetConnection client) { OnDisconnect?.Invoke(this, client); }
protected void StartReceiveFrom(NetConnection connection) { tasks.Add(ReceiveFromAsync(connection)); }
protected void CallOnDataSend(NetConnection connection, byte[] data) { OnDataSend?.Invoke(this, connection, data); }