Just wondered, but can you do a socket.connect across from a swf file in one domain to a server in another?
I would have thought the server would have to be on the same domain as the swf.
If you're having trouble, it might be worth trying the method within the domain before trying it across domains.
Morgan.
EDIT: Yep - Just checked the documentation, and cross-domain communication isn't allowed. Is your swf on the same domain as the server?