3

Help with perl code port to C++

view full story
linux-howto

http://www.linuxquestions.org – Hi there. I've got a (very) simple perl xinetd server that I'd like to port to C++. I've beat my head against the wall trying to learn some basic C++ and implement something similar using system() or popen() without success. Perhaps some kind soul could help me out a bit, or at least let me know what basic components I'd need to make this work. Thanks in advance. Code: #!/usr/bin/perl use strict; # Turn off output buffering. $| = 1; # Indicate successful connection. print "Connected to $ENV{REMOTE_HOST} stream server:\n&qu (HowTos)