in reply to C Client / Perl Server incompatibility

the 2 byte response is the length, and yes it does send it.

The problem (one of my friends found it out) is in buffering...had to switch the print statement to syswrite and the <$server> to sysread.

Afterwards it worked beautifully. (wish I had known of those functions beforehand :)

Thanx anyways.

  • Comment on Re: C Client / Perl Server incompatibility