private void OnSocketReceive(object sender, SocketReceiveEventArgs e) { SockMgrReceiveEventArgs arg = new SockMgrReceiveEventArgs(this, e.Buffer); SockMgrReceiveEvent?.Invoke(this, arg); _responser.OnSockMgrReceive(this, arg); }
private void OnSockMgrReceive(object sender, SockMgrReceiveEventArgs e) { SockMgrReceiveEvent?.Invoke(sender, e); }