I test it under windows, according to the source code , unix should be ok.<br><br><div class="gmail_quote">2012/10/14 hume npx <span dir="ltr"><<a href="mailto:humeafo@gmail.com" target="_blank">humeafo@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">using reuseaddr option while do UDP socket  processing, it is not functional. I searched the question on google, it seems that it's caused by inet_drv.c line 5611, in fact win32 support reuseaddr, should the following <div>

<br></div><div><div>#ifdef __WIN32__</div><div><span style="white-space:pre-wrap">  </span>    continue;  /* Bjorn says */</div><div>#else</div><div><br></div><div>part be commented?</div><div><br></div><div>
<div><span style="white-space:pre-wrap">  </span>case INET_OPT_REUSEADDR: </div><div>#ifdef __WIN32__</div><div><span style="white-space:pre-wrap"> </span>    continue;  /* Bjorn says */</div>
<div>#else</div><div><span style="white-space:pre-wrap">      </span>    type = SO_REUSEADDR;</div><div><span style="white-space:pre-wrap"> </span>    DEBUGF(("inet_set_opts(%ld): s=%d, SO_REUSEADDR=%d\r\n",</div>
<div><span style="white-space:pre-wrap">          </span>    (long)desc->port, desc->s,ival));</div><div><span style="white-space:pre-wrap">      </span>    break;</div><div>#endif</div></div>
</div>
</blockquote></div><br>