I'm trying to write a python function that sends an UDP message to a remote host and receives a reply, but I have a really hard time understaning how to do this. I've been looking at thread: Simple Python UDP Server: trouble receiving packets from clients other than localhost
I understand how to send something, but how to send AND receive in the correct sequence?
Thanks in advance.