i am trying to use a "|-" Pipe to communicate 2 processes and it works OK when the parent just prints a string to the chlid via PIPE. But when the the parent process tries to print to child via PIPE something it got from a TCP socket, it does not work... :-(

This code shows what i am trying to do.... i mark in red the important area ($linea is never printed to "TO")