title: UDP Client - Exception in creating socketOnly one usage of each socket address (protocol/network address/port) is normally permitted
body: <p>I am creating a UDP client in my c# application.</p>
  
  <pre><code>labelEP = new System.Net.IPEndPoint(tempAdd, ethPortAddress);
  recvMIUCmndsSocket = new UdpClient(labelEP);
  Socket temp = recvMIUCmndsSocket.Client;
   //Allow broadcasts
  temp.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 1);
  </code></pre>
  
  <p>Whenever i start my application it works fine. If there is any problem in my application, the application restarts on its own. Some times when an application restarts I am facing the exception :</p>
  
  <p><code>"Only one usage of each socket address (protocol/network address/port) is normally permitted "</code> </p>
  
  <p>It seems to be the garbage collector didn't free the previous instance of udpclient socket. Could that happen?  </p>
  
  <p>Regards
  Raju</p>