Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

[solved] TcpServer can't work under ubuntu, but works under windows

$
0
0
Hello, I’m trying to create a tcp server. The same code works fine under windows. But under linux, I can’t connect at all. I’m listening QHostAddress::Any, port = 8080. If I type http://localhost:8080/ inside a web browser, the incomingConnection(int socket) function of the class QTcpServer never gets called under. And the connection takes forever. Do you know what the problem might be?

Viewing all articles
Browse latest Browse all 18427

Trending Articles