Socket communication between C++ and perl processes in Linux

HumanProgrammer on 2004-09-21T12:38:56

Hello!

I tried to create a simple program - two simple processes one in C++ and an other in perl. Which could communicate trough sockets. The C++ side worked fine (it was the server). But I cannot give back any answer to the perl client. Could anyone help me to solve this problem?

Thank You!

Here is the C++ code: http://www.linuxgazette.com/issue74/tougher.html

And here is the perl example which I tried to change: http://www.perlfect.com/articles/sockets.shtml


Perl Monks

clscott on 2004-09-21T13:56:27

A good place for asking questions like this is http://www.perlmonks.org

Re:Perl Monks

HumanProgrammer on 2004-09-22T11:04:40

Thanks for the info!

cookbook

jmm on 2004-09-21T14:05:19

The Perl cookbook is likely to have example code for this sort of task (and many more), but I don't have a copy at hand right now to check.