Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Where to keep the socket and client part?
codeartist last edited by
I am working on socket programming for my software. I know how to write the server program. But I am having two problems specifically.
- Where to keep the server program?
- Should I divide the client part in different functions(SLOT) and where to place it?
It's too confusing any good tutorial or reference link for the same is appreciable.
Thanks in advance.
koahnig last edited by
Did you see already the "fortune examples here? ":http://qt-project.org/doc/qt-4.8/examples-network.html
The "fortune server":http://qt-project.org/doc/qt-4.8/network-fortuneserver.html and the "fortune client ":http://qt-project.org/doc/qt-4.8/network-fortuneclient.html are a good place to start.