Пример #1
0
        protected void OnPacketReceived(PacketReceivedEventArgs e)
        {
            PacketReceivedEventHandler recHandler = PacketReceived;

            if (recHandler != null)
            {
                recHandler(this, e);
            }
        }
Пример #2
0
        private void OnPacketReceived(PacketReceivedEventArgs e)
        {
            PacketReceivedEventHandler handler = PacketReceived;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Пример #3
0
 private void Server_PacketReceived(object sender, PacketReceivedEventArgs e)
 {
 }