[erlang-questions] SO_REUSEPORT with UDP

Rad Gruchalski radek@REDACTED
Thu May 21 16:15:36 CEST 2015

Hi Pablo,  

I found a perfect explanation of the difference between SO_REUSEADDR and SO_REUSEPORT:
It goes a long way into explaining the implementation on different platforms and the differences between these two.
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.

Kind regards,

Radek Gruchalski
de.linkedin.com/in/radgruchalski/ (http://de.linkedin.com/in/radgruchalski/)

This communication is intended for the above-named person and may be confidential and/or legally privileged.
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.

On Thursday, 21 May 2015 at 15:04, pablo platt wrote:

> 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
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED (mailto:erlang-questions@REDACTED)
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150521/51c8eed4/attachment.htm>

More information about the erlang-questions mailing list