Example #1
0
 /// <summary>
 /// Raises the Accepted event.
 /// </summary>
 /// <param name="e">An <see cref="AcceptEventArgs"/> that contains the event data.</param>
 protected void OnAccepted(AcceptEventArgs e)
 {
     if (this.Accepted != null)
     {
         this.Accepted(this, e);
     }
 }
Example #2
0
 /// <summary>
 /// Raises the Accepted event.
 /// </summary>
 /// <param name="e">An <see cref="AcceptEventArgs"/> that contains the event data.</param>
 protected void OnAccepted(AcceptEventArgs e)
 {
     if (this.Accepted != null)
     {
         this.Accepted(this, e);
     }
 }
Example #3
0
 private void ListenerSocketAcceptedEventHandler(object sender, AcceptEventArgs e)
 {
     this.OnClientConnect(e.Socket);
 }
Example #4
0
 private void ListenerSocketAcceptedEventHandler(object sender, AcceptEventArgs e)
 {
     this.OnClientConnect(e.Socket);
 }