Since you can't have two processes sending/receiving packets from the same port I've duplicated then edited util/udpecho.py to redirect the data packet coming from port number X to port number X+1 instead of just echoing back to port X.
This means data packets can be sent from port X on one machine (A) to another machine (B) which is running util/udpecho.py. We can then monitor port X+1 on machine A for the returning data packet with whatever process we want.
Since you can't have two processes sending/receiving packets from the same port I've duplicated then edited
util/udpecho.py
to redirect the data packet coming from port number X to port number X+1 instead of just echoing back to port X.This means data packets can be sent from port X on one machine (A) to another machine (B) which is running
util/udpecho.py
. We can then monitor port X+1 on machine A for the returning data packet with whatever process we want.