Thanks for the feedback. I'll think about breaking the network code down to work around the waiting.

I've been able to get socket functionality to work in KiX. It's just that without the events I have to use blocking on the socket which is highly annoying because I can't do anything with it until a connection is generated. And it also means I can never shut down my script except by killing the process in Task Manager because it will always be listening for a new connection.

There may have been some other issues, but it's been so long since I worked with this that I don't remember.
At least the client side can shut down gracefully.

-Ben
http://www.rgcweb.org/kix