I just downloaded your Helian wars application, and deduced from the frequent nilobject exceptions that you wrote it in REALBasic.
Anyway, I'm working on a somewhat similar game, and I wanted to ask:
How the hell do you want to make the socket work?
You do know that a sprite surface blocks all other processes?
Please tell me how you intend to do this. I might be able to assist you with your applications in several ways (AI).
------------------
"I'm beginning to see the flowers from the wrong side"
-The prophet Zarquon, shortly before passing away