RE: Shared memory

2001-07-10 Thread Rolf Banting
num_recs = unpack "i", $data_str; gets me the number of records into $num_recs. -----Original Message- From: Rolf Banting [mailto:[EMAIL PROTECTED]] Sent: 10 July 2001 16:22 To: '[EMAIL PROTECTED]' Subject: Shared memory A question on shared memory on Solaris 2.6. T

Shared memory

2001-07-10 Thread Rolf Banting
A question on shared memory on Solaris 2.6. The scenario is that I want to share data between a C-prog and a perl prog. I can create a segment fine from perl using either the shmget or IPC::ShareLite methods and a test C-prog is happily writing data to the segment. Likewise I can get another C-p