Re: [asio-users] listening socket on another thread
Brought to you by:
chris_kohlhoff
From: Christopher K. <ch...@ko...> - 2006-08-24 10:23:46
|
Alejandro Santos <al...@gm...> wrote: > i want in my "server program", to have the task of accepting > sockets from the listening socket on one thread, and the rest > of the connections (client sockets, send and receive data), > served and processed by another thread(s). > > is it safe to construct the "listening socket" with one > io_service, and the new client-sockets with another io_service Yes it is. Cheers, Chris |