Magius_AR has asked for the wisdom of the Perl Monks concerning the following question:
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?
Specifics:
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,
Thanks,
Magius_AR
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: C Client / Perl Server incompatibility
by rpc (Monk) on Dec 08, 2000 at 06:24 UTC | |
Re: C Client / Perl Server incompatibility
by zigster (Hermit) on Dec 08, 2000 at 15:19 UTC | |
Re: C Client / Perl Server incompatibility
by AgentM (Curate) on Dec 08, 2000 at 06:42 UTC | |
Re: C Client / Perl Server incompatibility
by dws (Chancellor) on Dec 08, 2000 at 07:02 UTC | |
Re: C Client / Perl Server incompatibility
by Magius_AR (Sexton) on Dec 08, 2000 at 09:05 UTC | |
Re: C Client / Perl Server incompatibility
by Magius_AR (Sexton) on Dec 08, 2000 at 06:50 UTC | |
by myocom (Deacon) on Dec 08, 2000 at 07:12 UTC |
Back to
Seekers of Perl Wisdom