Local UDP is more unreliable than on the network, for example, 50% + packet drops are unreliable. This is a terrible choice, kernel developers attribute quality because of a lack of demand.
I would recommend exploring message-based middleware, preferably with a BSD-compatible interface for an easy learning curve. The proposal will be ZeroMQ , which includes C ++, Java, and Python bindings.
source share