2010/7/29 Lloyd <lloyd@cdactvm.in>
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.