<div>
                    Hi Pablo,
                </div><div><br></div><div>I found a perfect explanation of the difference between SO_REUSEADDR and SO_REUSEPORT:</div><div>http://stackoverflow.com/a/14388707/56250</div><div>It goes a long way into explaining the implementation on different platforms and the differences between these two.</div>
                <div><div>I might be wrong but I would imagine that reuseaddr means SO_REUSEADDR and I do not think Erlang does SO_REUSEPORT in any way. If I’m wrong, please, somebody correct me.</div>
                
                
                


<p style="font-family: Helvetica; font-size: 10pt; margin-bottom: 0cm;">
                
                
                


</p><p style="font-family: Helvetica; font-size: 10pt; margin-bottom: 0cm;">
                
                
                


</p><p style="margin-bottom: 0cm;">
                
                
                


</p><p style="margin-bottom: 0cm"><font color="#000000"><font face="Helvetica, sans-serif"><font style="font-size: 9pt">Kind
regards,
<br>Radek
Gruchalski</font></font></font><font color="#0084d1"><font face="Helvetica, sans-serif"><font style="font-size: 9pt"><br></font></font></font><a href="http://de.linkedin.com/in/radgruchalski/"><font color="#0084d1"><font face="Helvetica, sans-serif"><font style="font-size: 9pt">de.linkedin.com/in/radgruchalski/</font></font></font></a><font color="#000000"><font face="Helvetica, sans-serif"><font style="font-size: 9pt"><br><br></font></font></font><font color="#878787"><font face="Helvetica, sans-serif"><font style="font-size: 8pt"><b>Confidentiality:<br></b></font></font></font><font color="#878787"><font face="Helvetica, sans-serif"><font style="font-size: 8pt">This
communication is intended for the above-named person and may be
confidential and/or legally privileged.<br>If it has come to you in
error you must take no action based on it, nor must you copy or show
it to anyone; please delete/destroy and inform the sender
immediately.</font></font></font></p></div>
                 
                <p style="color: #A0A0A8;">On Thursday, 21 May 2015 at 15:04, pablo platt wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>How can I have multiple workers listen on the same UDP port on Linux?<br></div>SO_REUSEADDR or SO_REUSEPORT are suggested in several places but I couldn't find how to use it.<br><br></div><div>What's the difference between SO_REUSEADDR and SO_REUSEPORT?</div><div><br></div>Do I just listen on the same IP/Port with gen_udp several times with <span>the option {reuseaddr, true}?<br></span></div><span>Is there an equivalent reuseport option?<br><br></span></div><span>Thanks<br></span></div>
</div><div><div>_______________________________________________</div><div>erlang-questions mailing list</div><div><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></div><div><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>