Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » read/write to pipe /dev/rtp..?
read/write to pipe /dev/rtp..? [message #33750] Sat, 10 September 2011 15:06 Go to previous message
Monty.mvh is currently offline  Monty.mvh
Messages: 31
Registered: July 2011
Location: Bangalore
Member
Hi,
I am trying write and read commands to pipe /dev/rtp0 and rtp1..
can anyone provide an example for this...
I tried with FileOut method but did'nt get the thing..
FileOut file1;
file1.Open ( "/dev/rtp1 " );
file1.Put(&wr1,sizeof(wr1));


where wr1 is

 struct write {
       int command;
       int data;
   };
write wr1;


Also is " file1.Put(&wr1,sizeof(wr1)); " is the right method to write data to any file other than /dev..????
 
Read Message
Read Message
Read Message
Previous Topic: isnan [BUG?] fix for Core OSX11
Next Topic: Why this one leaks ?
Goto Forum:
  


Current Time: Sun May 19 00:42:50 CEST 2024

Total time taken to generate the page: 0.01556 seconds