Re: [Cppcms-users] booster::aio::basic_io_device open /dev/ttyUSBX ??
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-09-26 17:57:39
|
Just open the define as usual and than you can assign it to booster::aio::basic_io_device and than check it for readability/writeability and do usual stuff withing booster::aio::event_loop See also: http://cppcms.com/cppcms_ref/latest/classbooster_1_1aio_1_1basic__io__device.html http://cppcms.com/wikipp/en/page/cppcms_1x_aio Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Dietrich Müller <die...@gm...> >To: cpp...@li... >Sent: Tuesday, September 25, 2012 3:56 PM >Subject: [Cppcms-users] booster::aio::basic_io_device open /dev/ttyUSBX ?? > > >Hey, >I want to read and write data to a virtual serial port. In boost::asio you have the serial_port class for communication. >How can I do it with booster::aio? > >thank you > >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |