[erlang-questions] UDP concurrent server
Wed Dec 9 13:11:24 CET 2015
On Wed, Dec 9, 2015 at 12:59 PM, Benoit Chesneau <bchesneau@REDACTED>
> You can if you tell to the udp socket to reuse the port:
> If you do this any process will be able to reuse it and send/recv to it.
This enables you to call gen_udp:open for port X from multiple processes.
Unfortunately as long as first socket is alive, all traffic will go there.
So it's just a reliability improvement (if first process goes down), but
not a scalability improvement.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions