I want to pass a connection ID from a parent process to
a child process created using “spawn”. This is easily done
for an open descriptor, but I just want this for
MsgSend/MsgReceive operations. How do I do this?
John Nagle
Team Overbot
I want to pass a connection ID from a parent process to
a child process created using “spawn”. This is easily done
for an open descriptor, but I just want this for
MsgSend/MsgReceive operations. How do I do this?
John Nagle
Team Overbot
John Nagle <nagle@downside.com> wrote:
I want to pass a connection ID from a parent process to
a child process created using “spawn”. This is easily done
for an open descriptor, but I just want this for
MsgSend/MsgReceive operations. How do I do this?
So you actually want to pass the channel id? So the child process
can make a new connection to the parent’s channel?
chris
–
Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/
Chris McKillop wrote:
John Nagle <> nagle@downside.com> > wrote:
I want to pass a connection ID from a parent process to
a child process created using “spawn”. This is easily done
for an open descriptor, but I just want this for
MsgSend/MsgReceive operations. How do I do this?
So you actually want to pass the channel id? So the child process
can make a new connection to the parent’s channel?chris
No, I want the parent to be a server for the child.
I realize there are clunky solutions involving passing channel
IDs as arguments on the command line, but there must be some
straightforward way to do this.
John Nagle
John Nagle <nagle@downside.com> wrote:
Chris McKillop wrote:
John Nagle <> nagle@downside.com> > wrote:I want to pass a connection ID from a parent process to
a child process created using “spawn”. This is easily done
for an open descriptor, but I just want this for
MsgSend/MsgReceive operations. How do I do this?
So you actually want to pass the channel id? So the child process
can make a new connection to the parent’s channel?chris
No, I want the parent to be a server for the child.
I realize there are clunky solutions involving passing channel
IDs as arguments on the command line, but there must be some
straightforward way to do this.
There is no inheritance of side-channel connections, nor of
channels.
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.