Boost logo

Boost Users :

Subject: Re: [Boost-users] [Asio] Confusion with socket.cancel()
From: Igor R (boost.lists_at_[hidden])
Date: 2009-06-22 11:16:35


>
> I am getting confused, could anyone clarify the following points?
> (Note that I am in a single thread context)
>
> 1- After a call to
> socket.async_send_to(buffer, remote_endpoint, write_handler)
> followed by a call to
> socket.cancel()

cancel() method id not quite portable, and it's actual effect depends on the
platform. Please, read the reference:
http://www.boost.org/doc/libs/1_39_0/doc/html/boost_asio/reference/basic_stream_socket/cancel/overload2.html



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