Re: Named pipes?
Posted in 1998
Florin Micle wrote: > > Hi everybody, > > Here is my problem: > > I want to send data to a C++ program. I would like to know if there is a > mechanism like named pipe in Oracle (DBMS_PIPE.SendMessage()) > Is there a way to do such things in Informix? Any other possibilities? > I mention that I have: Informix SE 7.02 (no ESQL/C) and use a GNU > compiler with C++ libraries. I'm very new in working in Unix environment, so > bare with me :-). > > Any help appreciated! > > Florin Micle > <florinmicle@gsc-mbh.de> I would have thought that creating a named pipe in Unix with the mkfifo command would be the first step. Then set your C++ program to read from the pipe, waiting for your Informix program to write something into the other end. The programs at each end would have to agree about a way to mark the end of a "job". I've never done this but by analogy with the rest of the Unix filing system, I think it should work. Anyone else have more experience with this? (More than none, I mean...) -- Peter Lancashire Information Systems Specialist, Bayer plc Eastern Way, Bury St Edmunds, Suffolk, IP32 7AH, UK Tel: +44-1635-562258, Fax: +44-1635-562281 --- If all else fails, read the instructions AND the release notes. All opinions are my own and not those of Bayer plc. My Internet plumbing does not allow me to mail and post news together. Sorry. --- Join Infuse, the UK Informix User Group at http://www.infuse.org.uk/