title: Howto set the UDP source address on Windows
body: <p>There seems to be no portable way to set the source IP for sending UDP datagrams from sockets bound to INADDR_ANY, but at least on Linux and FreeBSD it can be done using <code>sendmsg()</code> and the <code>IP_PKTINFO</code> (Linux) or <code>IP_SENDSRCADDR</code> (FreeBSD) option. (See <a href="https://stackoverflow.com/questions/3062205/setting-the-source-ip-for-a-udp-socket">this question</a>.)</p>
  
  <p>Is there an equivalent option to set the UDP source IP on Windows ?</p>