Thanks for the answer!
I know that UDP is connectionLess, but using "connectToHost" is the only way I founded to get the client "local port".
If I just call writeDatagram(), then I don't get my local port, and I need this port for the readDatagram()!
Bookmarks