1) I have a program that sends data via UDP from one server to another.
2) Another program receives these, and simply forwards them via UDP to several destinations, via UDP.
3) One of the destinations is localhost.
Data is being received in 2) and being sent to 3) in a constant flow with no break. Yet the application receiving packets in 3) from 2) is receiving intermittently. It will receive data for a 20 seconds, then not receive for a few minutes, and keeps on in a seemingly random fashion.
This SAME code works perfect when receiving the packets externally. Also, if i run a tcpdump -i lo on the port that 3) is listening on, there is in fact a constant flow of data arriving to the port.
I cannot understand where the problem could be?
-Steve