Where to keep the socket and client part?
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.
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.