title: Can I set the timeout for UdpClient in C#?
body: <p>I am wondering whether I can set a timeout value for UdpClient receive method.</p>
  
  <p>I want to use block mode, but because sometimes udp will lost packet, my program udpClient.receive will hang there forever.</p>
  
  <p>any good ideas how I can manage that?</p>