SFML community forums

Help => Network => Topic started by: lohr on July 01, 2008, 11:28:48 am

Title: Multithread Server
Post by: lohr on July 01, 2008, 11:28:48 am
Hi,

I wanted to ask if there is any Code Example for a MultiThread Server?
I know SFML has the Selector Function but it is more comfortable with a MultiThread Server...

Best regards,
lohr
Title: Multithread Server
Post by: Laurent on July 01, 2008, 12:52:54 pm
Hi

There's not much to say about a multi-threaded server, the only thing it does is create a new thread for each new connexion, instead of handling all clients in the same thread. All the rest is not specific to the server type and will be the same for both types.