Binding two sockets to the same port is different than using one socket for reading and writing. The latter should work fine and Qt has no chance of breaking it so I suppose you are doing something wrong. The former should fail and so it does.
Try to replace your read() and write() calls with readDatagram() and writeDatagram().





Reply With Quote
Bookmarks