Hi all,

I wrote 2 programs which are using the IPC queue. Now I have a
problem, that often the the queue cannot be opened.
I did some tests and cannot find out where the problem is.
The relevant code is here:

  ipcqueue:='/var/ipc';
  IPC_Key:=ftok(ipcqueue,'M');                  // Eindeutigen Schlüsssel generieren
  IPC_ID:=msgget(IPC_Key,IPC_CREAT or 438);     // Schnittstelle erstellen

No matter what I do with /var/ipc the IPC-Queue doesn't get created.
I tried /var/ipc as file, directory and not existent, but nothing helps.

Does anybody here know the right procedure to open an ipc-queue. Thanks
in advance for your help.

Michael.


-- 


                     SysQuadrat
    Michael Weinert Stuttgart Filderstadt-Plattenhardt
  Tel.: 0711-9970288 Fax: 5360559 Mobil: 0170-4141273
   http://www.linux-firewall.de  [EMAIL PROTECTED]


_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to