Beispiel #1
0
 public void Dispose(SenderSocket senderSocket)
 {
     if (TcpClientSockets.Contains(senderSocket))
     {
         TcpClientSockets.Remove(senderSocket);
     }
     base.Dispose();
 }
Beispiel #2
0
 public void ExecuteReceivedDataHandler(Packet package, SenderSocket receiveSocket)
 {
     DataReceivedHandler?.Invoke(package, receiveSocket);
 }
Beispiel #3
0
 public void ExecuteHandshakeHandler(IPAddress ipAddress, SenderSocket rSocket)
 {
     HandshakeHandler?.Invoke(ipAddress, rSocket);
 }