Is there a way I can get the port number the udp socket used to send message?
What I want to do is to send a udp datagram to someone and listen to that sending port.
For example in the following code:
QUdpSocket *s = new QUdpSocket(this);
s.writeDataGram(theData,theIp,thePort);
does it automaticly binds socket s with whatever the sending port is?
If so, can I listen to that sending port?