Network
General and Desktop
5
Posts
3
Posters
1.5k
Views
1
Watching
-
It is not clear what do you want to implement.
Just figuring out, maybe what you are trying to do is a Http Server and not the QTcpServer.
-
Actually y i want to show a html page when eve the user enter in the web browser localhost
but the thing is there are two pages home and contactso the user should enter localhost/home for home and localhost/contact for contact
so how can i get that the user entered home or contact after localhost
Thank You
-
As I suspect, it is a Http server. I recommend the "QHttpServer":https://github.com/nikhilm/qhttpserver library
QTcpServer cannot implement what you want.