Exemplo n.º 1
0
 internal void ConfigureSocket(Socket socket)
 {
     if (this.ReceiveTimeout > 0)
     {
         socket.SetReceiveTimeout(this.ReceiveTimeout);
     }
     if (this.SendTimeout > 0)
     {
         socket.SetSendTimeout(this.SendTimeout);
     }
 }