in reply to Unexplainable Client/Server trouble

sysread returns undef on error. Chances are good that you're getting an error.

Save the return value from sysread, and explicitly test for undef. </code> You might find something of interest in $!

Replies are listed 'Best First'.
Re: Re: Unexplainable Client/Server trouble
by astanley (Beadle) on Apr 03, 2001 at 00:48 UTC
    Is it possible to determine what is causing the error? I've printed the $clientid and it returns a correct reference (at least the same as went in the other side when the function was called)...and the function works perfect for 17 out of the 20 functions...the clientid doesn't seem to be part of the error and I don't know what else would cause sysread to fail.
    -Adam Stanley
    Nethosters, Inc.