[erlang-questions] SO_REUSEPORT with UDP

pablo platt <>
Thu May 21 15:04:36 CEST 2015


Hi,

How can I have multiple workers listen on the same UDP port on Linux?
SO_REUSEADDR or SO_REUSEPORT are suggested in several places but I couldn't
find how to use it.

What's the difference between SO_REUSEADDR and SO_REUSEPORT?

Do I just listen on the same IP/Port with gen_udp several times with the
option {reuseaddr, true}?
Is there an equivalent reuseport option?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150521/0b81b762/attachment.html>


More information about the erlang-questions mailing list