
22 Dec
2012
22 Dec
'12
10:12 p.m.
Hello, how can I design an application that will have a http server like HTTP Server 3 example, but also x number of tcp clients connecting to a server, client must connect to the server before the http server is active, if client is idle with a timer events send an 'I'm here' in every 10 seconds, i tink i have to put the tcp client on a list or ?. Your intuition is correct. You need to create a session for each client and then manage things there. See the timeout or the chat example in
On 19/12/12 11:51, Christer Borgqvist wrote: the libs/asio/example directory of boost.