title: socket sendto get the error 22 during udp packets
body: <p>I have written one client application , which uses the mdnsreponder for some service discovery . I have one requirement that my client IP will get change very frequently. whenever there is a change in the IP I need to do the discovery again .
  So I have written simple test application which will change the IP for every 1 min and do the discovery .</p>
  
  <p>Everything works fine but after few IP changes(some 7-10 times changed) it gives below socket error .</p>
  
  <p>(below is the error code of <strong>sendto</strong> socket function in the mdnsresponder code)</p>
  
  <pre><code>mdnsplatformsend udp got error 22 .
  </code></pre>
  
  <p>After that my request will not put it on the interface with new IP.</p>
  
  <p>Again I have to restart my application, then only it works...</p>
  
  <p>Can somebody help to figure out the problem, why does it stop after a few trials?</p>