Collocating mutiple services on the same UDP port

25 views Asked by At

Say, there are 2 services (A and B) bound to listen onto the same UDP port. service A employs SO_REUSEPORT socket option and service B doesn't.

Is there a way to make both services to work together on the same ip/port?

Specifically, would it matter an order of starting the services (A then B, or B then A) so that both work correctly?
Or both services must configure their sockets with SO_REUSEPORT to be able to work correctly?

0

There are 0 answers