Boost logo

Boost Users :

Subject: Re: [Boost-users] stop a socket
From: Igor R (boost.lists_at_[hidden])
Date: 2011-07-08 07:41:41


> I would like you to explain me a detail of io_service. In my case I attach a
> socket to the io_service but if the socket is still open the
> io_service.stop() does not work as expected. Is there a way to close the
> socket just through the related io_service?

io_service doesn't open or close sockets, its only processes
completion handlers.
Close sockets using socket::close().


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