Boost logo

Boost Users :

Subject: [Boost-users] Synchronous read from a serial port with timeout?
From: Gözde Bahar KOÞ (gkos_at_[hidden])
Date: 2010-07-22 10:07:40


Hello,

Is there a way to use synchronous read function with a timeout mechanism? I want my code to block on read function till data/error comes from the serial port or timeout expires. How can I do this with asio?

Best Regards,
Gözde Bahar Koþ
######################################################################
Dikkat:

Bu elektronik posta mesaji kisisel ve ozeldir. Eger size
gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.
Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte,
guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki
gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi
gorusu olmak zorunda degildir.

######################################################################
Attention:

This e-mail message is privileged and confidential. If you are
not the intended recipient please delete the message and notify
the sender. E-mails to and from the company are monitored for
operational reasons and in accordance with lawful business practices.
Any views or opinions presented are solely those of the author and
do not necessarily represent the views of the company.

######################################################################


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