Thanks for your help. I've done it using load tnm.so (scotty) and a separate thread.
I don't intend to write it as accurate as possible, in fact I never liked the idea of checking domains. I worked it out with simple nsv, mutex and a detached thread :) Anyway thanks for your help guys. -- WK
