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..?
Re: read/write to pipe /dev/rtp..? [message #33752 is a reply to message #33750] Sat, 10 September 2011 15:07 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Monty.mvh wrote on Sat, 10 September 2011 09:06

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..????


pipe does not have support in U++. You have to use C API.


Mirek
 
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 Aug 26 11:29:28 CEST 2025

Total time taken to generate the page: 0.05482 seconds