I am working on a sockets based script. My question is what if the length
of the recv is likely to change, but you need the following recv lines not
to get corrupted?

Example

$client->recv($bkserv,128);
$client->recv($bkuser,128);
$client->recv($dumppath,128);
$client->recv($dumpname,128);

Any one of these may be more or less than 128. Say in the top two lines
bkserv ends up 12, then the bkuser ends up part of the $bkserv scalar.
This information is likely to vary based on the system it is running
against.

Thanks..
Scott




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to