Interface between C and Perl

L

lepi

Hello,

I have a problem interfacing C and Perl. I have program written in C
that acts like a daemon, and Perl program (also a daemon) that should
interact with C program. Program in Perl should be the bridge from a
remote client to C server program.(C and Perl programs are on one
computer, and lient on remote). C program has input and output that has
to be passed through Perl server, and client should be able to control C
server. The main problem is that C client needs to pass some options to
C server, an based on that options, C server will be started, and after
that client and C server can comunicate with help of the Perl bridge
program.

Is there a way that I could do it??


Thank you for any advice

Tom
 
J

John Bokma

Hello,

I have a problem interfacing C and Perl. I have program written in C
that acts like a daemon, and Perl program (also a daemon) that should
interact with C program. Program in Perl should be the bridge from a
remote client to C server program.(C and Perl programs are on one
computer, and lient on remote). C program has input and output that has
to be passed through Perl server, and client should be able to control C
server. The main problem is that C client needs to pass some options to
C server, an based on that options, C server will be started, and after
that client and C server can comunicate with help of the Perl bridge
program.

Is there a way that I could do it??

Yes, read the documentationt that comes with Perl. perldoc perlipc
for example.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,160
Messages
2,570,889
Members
47,420
Latest member
ZitaVos505

Latest Threads

Top