how to survey if the app who launched plink is still alive.??

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

i use plink to create a ssh tunnel to connect to my database with ssh2 under
windows (xp, 2000, me, nt,etc..)
plink is launched from my app to create this connexion.
all work very fine.
but, if my app shutting down or shooted down by user (ctrl+alt+suppr), my
plink still working, alone, and the ssh tunnel too.
i would to exit of plink if my app doesn't alive.
i was searched in the plink src to find where i can test if my app still
alive, but it's very hard.
i'm trying to find where in the plink src i can test if my app is always
running, shutting instance if alone.
i used visual c++6  and putty 0.58 sources.
if anyone know how to do or how to look, it will be great.
thanks in advance

Site Timeline