<div>
                    Perfect.</div><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 16:18, Benoit Chesneau 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"><br><br><div>On Thu, May 21, 2015 at 3:04 PM pablo platt <<a href="mailto:pablo.platt@gmail.com">pablo.platt@gmail.com</a>> wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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></div></div></blockquote><div><br></div><div>In Erlang you can use the raw option to use REUSE_PORT on your platform:</div><div><br></div><div><a href="https://github.com/refuge/rbeacon/blob/master/src/rbeacon.erl#L414-L425">https://github.com/refuge/rbeacon/blob/master/src/rbeacon.erl#L414-L425</a><br></div><div><br></div><div>and:</div><div><br></div><div><a href="https://github.com/refuge/rbeacon/blob/master/src/rbeacon.erl#L400-L412">https://github.com/refuge/rbeacon/blob/master/src/rbeacon.erl#L400-L412</a><br></div><div><br></div><div>- benoit</div><div> </div><blockquote type="cite"><div><div dir="ltr"><div><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>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></blockquote></div></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>