[Qt-interest] QUdpSocket's writeDatagram source port
Valentin Iliu
valentiniliu at yahoo.com
Tue Oct 27 05:11:40 CET 2009
Hello everyone.
I need to find a way to detect what source port is writeDatagram using when it runs, so I can bind to that port and listen for responses to what writeDatagram is sending out.
I notice it would usually pick 5060, but if it cannot use that one, it picks some different port in what looks to me like random fashion.
It seems like Wireshark knows both the source and the destination port of a packet. Which means it's not impossible to detect that source port. How do I do that in Qt?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091026/fbe0dae2/attachment.html
More information about the Qt-interest-old
mailing list