Hi,
i would like to find out if i want to build a multi client tcp server...
what is a good approach in creating such a server?
something like?
for each client connected......create a new thread to handle that connection......
thanks !
Hi,
i would like to find out if i want to build a multi client tcp server...
what is a good approach in creating such a server?
something like?
for each client connected......create a new thread to handle that connection......
thanks !
No need to create threads for each connection.
Just use signals and slots and keep a list of all your connections and don't use the blocking functions
Edit: unless you want to do something very specific. More information is needed
Bookmarks