The problem is that the client sees the initial outputs but once the server starts reading it's STDIN, there is no more lines written to the client. What am I doing wrong ?#!/usr/bin/perl select(STDOUT); $|++; for ($i=0;$i<100; $i++) { print "Started application - $i\n"; } open (FH, ">> /tmp/xyz.log"); select(FH);$|++; while (<>) { print FH $_; if (/^ping/) { print "PING BACK\n"; } }
In reply to inetd server not writing correctly to client by vasu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |