Hi all,

i'm using storable module to send an hash through an INET socket on loopback. 
I'm using client side : nstore_fd \%hash, $socket 
and server side : $hashref = fd_retrive $socket

at the end of fd_retrive (server side) i get back this error message :

DUMP:
$VAR1 = {
          'num_par' => 2,
          'par_1' => 'Blah',
          'par_2' => 'Blah blah'
        };

Magic number checking on storable file failed at ../../lib/Storable.pm 
(autosplit into ../../lib/auto/Storable/fd_retrieve.al) line 346, at ...

I tried to see Storable.xs and i suppose that error depend from network order, 
but client and server is on the same machine. 

Then my qustion is : What's wrong ?  

I'm using :
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
  Platform:
    osname=freebsd, osvers=4.10-release-p4, archname=i386-freebsd-64int

Thank you!

Bye,
Marco.

Reply via email to