|
Boost Users : |
From: lakers fan (lakersfan74_at_[hidden])
Date: 2008-08-29 06:37:53
Hello,
I have a udp listener socket, I want that to run in a separate thread. Just listen for incoming messages and pass the message to message handler. I checked the tutorial, it shows
boost::asio::io_service io_service; udp_server server(io_service); io_service.run();
I see the run() method running in a loop. Then how do I stop the service from some other thread?.
Any help would be greatly appreciated.
Thanks,
Bharani
_________________________________________________________________
Talk to your Yahoo! Friends via Windows Live Messenger. Find out how.
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008
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