never heard of freebrs, so I&#39;m sure we&#39;ve done nothing about making sure this works properly.  We should be using reuse properly, if your operating system defines this weird or it behaves differently than other common operating systems it may require code fixes to do it properly.  If you figure out why, we would be happy to review a pull request to correct this issue.<span></span><br><br>On Saturday, January 23, 2016, Luiz Fernando Softov &lt;<a href="mailto:fernando@softov.com.br">fernando@softov.com.br</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default"><font face="monospace, monospace">Hi all, i&#39;m trying to do a stop then a start in a profile.<br><br>After profile stop, the IP/Port doesn&#39;t release<br><br>I Google it and found this JIRA<br><br><a href="https://freeswitch.org/jira/browse/FS-6603" target="_blank">https://freeswitch.org/jira/browse/FS-6603</a><br><br>But this is when i&#39;m making a unload mod_sofia, the port release<br>So, only after this i can start the profile<br><br>I&#39;m using FreeBRS, and in my other programs I use SO_REUSEPORT<br><br>There is a function (</font><span style="font-family:monospace,monospace">su_setreuseaddr</span><span style="font-family:monospace,monospace">) in libs/sofia-sip/libsofia-sip-ua/su/su.c where i found a <br>#define </span><span style="font-family:monospace,monospace">SO_REUSEPORT<br><br>My question is, there a correct place to define </span><span style="font-family:monospace,monospace">SO_REUSEPORT, or i just add it to make of the system and the </span><span style="font-family:monospace,monospace">SO_REUSEPORT will work?<br></span><span style="font-family:monospace,monospace"><br>Or this isn&#39;t related with the fact that the port isn&#39;t released by the module when i make a stop? If not, how can i make to stop and start profile without problem?<br><br></span></div></div>
</blockquote>