I have looked at your documentation about QUdpSocket as well as your code snippet.
According to the snippet, once I call bind() and connect readRead() I should be able to receive datagrams.
I have written a test program which attempts to do this. I can only get a response if I call connectToHost(). Your documentation says that I shouldn't do this. When I apply connectToHost() and disconnectFromHost() repititively, I get a memory leak.
So why does connectToHost() work and bind() doesn't work. I am working with v4.5 on Windows XP.
Thanks,
bhuff
Bookmarks