Boost logo

Boost Users :

Subject: Re: [Boost-users] Asio question
From: Igor R (boost.lists_at_[hidden])
Date: 2008-10-04 14:47:17


> I would like to know if there is a way to recursively call handle_accept ()
> within handle_accept() and break on condition when the socket is closed.
> (Please see my comment in the code ).

I don't see any recurtion in your code, you just perform a new
async_accept after the previous one ends - this is legitimate and
shouldn't cause any problem.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net