Exemple #1
0
        private void OnSocketReceive(object sender, SocketReceiveEventArgs e)
        {
            SockMgrReceiveEventArgs arg = new SockMgrReceiveEventArgs(this, e.Buffer);

            SockMgrReceiveEvent?.Invoke(this, arg);
            _responser.OnSockMgrReceive(this, arg);
        }
Exemple #2
0
 private void OnSockMgrReceive(object sender, SockMgrReceiveEventArgs e)
 {
     SockMgrReceiveEvent?.Invoke(sender, e);
 }