Esempio n. 1
0
 private void OnTcpSocketReceiveCompleted(object sender, ReceiveCompletedEventArgs e) {
     HandlePacket(e.Data);
 }
Esempio n. 2
0
 protected virtual void OnReceiveCompleted(ReceiveCompletedEventArgs e) {
     EventHandler<ReceiveCompletedEventArgs> temp = ReceiveCompleted;
     if (temp != null) {
         temp(this, e);
     }
 }