in reply to Re: monitoring a free program
in thread monitoring a free program

Also scan for socket API which really doesn't have a place in the script.

actually the script uses Socket (optionally) for dns lookup...