in reply to Perl Sockets Problem

Not an answer, but don't mix buffered and unbuffered IO. syswrite and sysread should be used with sockets rather than print and <>.