U
unxl3arn3r
Gurus
I seem to be unable to pack a string padded with nulls and containing
the length of the string prepended to it. This is my code snippet,
where am i going wrong ?
$message1 = pack("l! a*",1, "This is a test,This program is free
software,you can redistribute it terms as Perl network, This is why I
said to talk");
msgsnd($queue,$message1,0);
In my msgrcv i only want to recieve upto 100 characters. If i send a
string greater than 100 my script receiving the message fails.
Thanks
Perl Monger
I seem to be unable to pack a string padded with nulls and containing
the length of the string prepended to it. This is my code snippet,
where am i going wrong ?
$message1 = pack("l! a*",1, "This is a test,This program is free
software,you can redistribute it terms as Perl network, This is why I
said to talk");
msgsnd($queue,$message1,0);
In my msgrcv i only want to recieve upto 100 characters. If i send a
string greater than 100 my script receiving the message fails.
Thanks
Perl Monger