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

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