Operating System - HP-UX
1753862 Members
7405 Online
108809 Solutions
New Discussion

Re: Passing a Reference across a Perl Socket

 
mike_
Honored Contributor

Passing a Reference across a Perl Socket

Hi,

I'm writing some code that involves server client talking using perl sockets. The communication is no problem, but I am having trouble trying to pass a reference.

The reference is a pointer to a C data structure which is obtained from XS mappings.

I have tried Freeze/Thaw in the storable module

Is it possible to pass this object/reference to another process via a socket or other means.

Has anyone done this ?

Thanks

m
1 REPLY 1
mike_
Honored Contributor

Re: Passing a Reference across a Perl Socket

You cant pass object across socket connection.