Thanks for the reply. I'm aware of SendMessage, why isn't it safe to expose the socket handle, after all it's just a stream, just like a pipe or file. The worst you could do is close it and force mIRC to re-connect. I guess you could send malformed data but you can do that just as easily with /raw.

I'm trying to avoid SendMessage, I don't really like using a file interface, just more overhead and resources to worry about.

Anyways, I guess the answer is simply no.