8 Jul
2011
8 Jul
'11
9:19 a.m.
Hi All, 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? Regards Gianni
8 Jul
8 Jul
11:41 a.m.
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().
5469
Age (days ago)
5469
Last active (days ago)
4 comments
4 participants
participants (4)
-
Gianni Ambrosio -
Igor R