
On Wed, 25 Apr 2007 13:36:52 +0530, Gaurav.Jain@iflexsolutions.com said:
1. Can I use same io_service for accepting and socket creation in multiprocessor scenario?
Yep.
If yes, does it have any constraint which I should take into consideration while designing an application?
No, I don't think so.
2. If I have more than one acceptor running and each of them accepting connection on same io_service on which they are created, how should one handle of processing of client's requests?
Do you mean you will have one acceptor for each io_service, and one io_service for each CPU? If you expect to have about the same amount of work for each type of connection, then you could just handle all per-connection request handling on the same io_service as the acceptor. However, I'm not sure I completely understand what design you're proposing in this second question. Cheers, Chris