Using Qt 4.3.1 on Win Xp.
I have set up QUdpSocket in a Qt GUI application that reads datagrams over a socket bound to my local port.
udpSocket_.bind(udpPort, QUdpSocket:efaultForPlatform)
The QUdpSocket:efaultForPlatform argument is documented as being the equivalent to SharedAddress on Windows.This application only receives datagrams via the UDP connection. Its code is near identical to hasPendingDatagrams then readDatagram code found in the Assistant documentation.
I have written another Qt GUI application for testing my main application. This application sends timed datagrams for the main application to read in. Once again the code is similar to that found in the Assistant documentation.
Nothing flash at all!
Both these Qt applications run on the same machine. So what I am trying to do is run my main application, then the test application that sends UDP datagrams to the main application. The main application is then meant to signal a readyRead and run the SLOT handler.
Ok its not running for me, both applications use the same udpPort!
Any help would be appreciated
Bookmarks