Hi, have you tried to temporarily disable the firewall completely?
Ginsengelf
Hi, have you tried to temporarily disable the firewall completely?
Ginsengelf
Yes. I tried firewall. Still failing.
I think I solved the problem. I flushed the pointer after writing or reading the datagram to the socket object I created. Then I noticed that the error was resolved. I wonder why?
Qt Code:
. .. ... socket->writeDatagram(......); socket->flush(); < fix itTo copy to clipboard, switch view to plain text mode
Without being able to see your code we can only guess. My guess is that your code does not return to the Qt event loop. To quote the docs, "In most cases, you do not need to call this function, because QAbstractSocket will start sending data automatically once control goes back to the event loop."
Bookmarks