Under QNX 4.2, we used to be able to get the process ID by calling
qnx_name_attach(). Now under QNX 6, the similar call “name_open()” only
returns a channel id. That is fine for most communication needs. However, I
still need the id of a remote process sometimes. As an example, I need the
process id in order send a kill signal, etc.
So is there a way to get the remote process id?
thanks
Shouqin Huo
Quantum Magnetics, Inc.
huo@qm.com
Shouqin Huo <huo@qm.com> wrote:
Under QNX 4.2, we used to be able to get the process ID by calling
qnx_name_attach(). Now under QNX 6, the similar call “name_open()” only
returns a channel id. That is fine for most communication needs. However, I
still need the id of a remote process sometimes. As an example, I need the
process id in order send a kill signal, etc.
So is there a way to get the remote process id?
Try ConnectServerInfo().
-David
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.