Objective C: Interprocess Communication
From: Kurt (kurt.semba_at_gmx.de)
Date: 03/31/04
- Next message: Peter Dunker: "Re: Re: C-API for Xerces-c ?"
- Previous message: Dan Pop: "Re: [OT] Google and IP, was Re: Hey, im a noob at C, PLEASE READ"
- Next in thread: Mark A. Odell: "Re: Objective C: Interprocess Communication"
- Reply:(deleted message) Mark A. Odell: "Re: Objective C: Interprocess Communication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Mar 2004 06:15:54 -0800
Hi all,
6 hours of online research and no luck...now I count on you experts :)
My system:
Linux Kernel 2.4.22, gcc 3.3.2, all written in objective c
Here's what already works:
- A daemon (main prog is creating an object --> daemon: TCP socket
server) is running and waiting for client connections
- On client connect (test client on the same system) the server will
fork() a child process
--> The Child will create a new object that will have an endless
loop doing database lookups (that's why I want to put this object in a
different process since otherwise my daemon is blocked by the
while-loop of the database-lookup-object)
--> The Parent will go on listening for incoming TCP connections
What's the problem:
The daemon should be able to communicate with this new object running
in a new process (at least to stop it). I tried to look up things
about protocols in objective c but couldn't find an example where two
objects in two different processes could communicate with each other.
Tried looking up pipes and signals, but this is not what I'm looking
for.
Is there a way how to communicate using object messages????
Thanx-a-lot,
Kurt
- Next message: Peter Dunker: "Re: Re: C-API for Xerces-c ?"
- Previous message: Dan Pop: "Re: [OT] Google and IP, was Re: Hey, im a noob at C, PLEASE READ"
- Next in thread: Mark A. Odell: "Re: Objective C: Interprocess Communication"
- Reply:(deleted message) Mark A. Odell: "Re: Objective C: Interprocess Communication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|