U++ framework
Do not panic. Ask here before giving up.

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: Tue Apr 28 21:45:24 GMT+2 2026

Total time taken to generate the page: 0.00377 seconds