Boost logo

Boost :

From: berserker_r (berserker_r_at_[hidden])
Date: 2006-11-16 10:38:02


Christopher Kohlhoff wrote:
> Anyway, I have just committed a fix to CVS head for this. If you
> want to patch your own copy with a temporary fix, make the
> following change to asio/detail/win_iocp_io_service.hpp:
> // Constructor.
> win_iocp_io_service(asio::io_service& io_service)
> : asio::io_service::service(io_service),
> - iocp_(::CreateIoCompletionPort(INVALID_HANDLE_VALUE, 0, 0, 0)),
> + iocp_(::CreateIoCompletionPort(INVALID_HANDLE_VALUE, 0, 0, ~0)),
> outstanding_work_(0),
> interrupted_(0),
> shutdown_(0)

I have tried the patch but with no success...do I need any change to
server.cpp file in order to make it works?
Do I need a per session io_service?
Thanks again


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk