Boost logo

Boost Users :

Subject: Re: [Boost-users] suspend an asio operation
From: ecyrbe (ecyrbe_at_[hidden])
Date: 2010-07-29 08:16:17


2010/7/29 Lloyd <lloyd_at_[hidden]>

> Hi,
>
> I am using asio for a network server. Based on the client request the
> server performs the operation. Some operation could take a very long time.
> so we would like to implement a "feature" to terminate the long process from
> client side by sending some other command. Is there any mechanism in "ASIO"
> to do this?
>
> Thanks,
> Lloyd
>
>
no. it's up to your application to cancel the server operations by any
mechanism you want.
what you describe looks like async rpc. there are a lot of rpc
implementations using boost asio. maybe you should take a look at them.



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