I can't seem to get my Perl server to communicate with a given client.
I'm using Socket.pm and the socket gets set up fine and it tells me that a connection is made.
However, when trying to send an integer value to the C client from the Perl server, it chokes.
Anybody had a problem like this? Incompatability between Perl server and C client?
C Client never gets past this line:
len = read(sockfd,buffer,2);
Perl Server gets past this line:
print $remote "$length\n";
and it locks on the next one:
print $remote "$fortunes[$num]\n";
Help would be much appreciated,