UDP is normally used is connection-less mode, so connectToHost() is not required, unless you are doing something special.
If you are sure you want to connect, specify a specific remote host name / remote ip address you want to connect. QHostAddress::Any is not an appropriate argument to connectToHost().





Reply With Quote

Bookmarks