Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
i need to cretae a message queue for interprocess communication.
i ma able to generate key as shown below
$msgkey = IPC::SysV::ftok("$APPSYS/runner/.runnerrc$NODE", 1);
variables are specific o my system.
but when i am trying to generate queue identifier like
$msgID = msgget($msgkey, IPC_CREAT | S_IRWXU);
its failing ..i am not getting any value for $msgID.it throws Illegal seek error .
Can nayone pls propose a solution
Thank you
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: interprocess communication ($!)
by tye (Sage) on Oct 02, 2011 at 01:15 UTC | |
Re: interprocess communication
by Khen1950fx (Canon) on Oct 02, 2011 at 04:42 UTC | |
Re: interprocess communication
by Marshall (Canon) on Oct 01, 2011 at 15:03 UTC | |
by Anonymous Monk on Oct 02, 2011 at 12:36 UTC |
Back to
Seekers of Perl Wisdom