|Welcome to the Monastery|
Socket gripesby frankus (Priest)
|on Oct 25, 2002 at 14:28 UTC||Need Help??|
frankus has asked for the
wisdom of the Perl Monks concerning the following question:
I've just rolled my own server ( in C because it ties into C APIs ). I'm writing a client in Perl to sit on another machine and interogate it.
The problem is, that I can telnet to the server and the server works, returning the grid reference for a location or postcode.
Using the Perl, client the data is sent and the server replies (I can see that from the server log) but the data data doesn't appear back on the client, untill I close the server down, presumably closing the pipe.
I know I've done something fundamentally stoopid, what is it?
Here is the code: