$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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().