Hi Although not directly relevant to the problems discussed, it's probably a good idea to check the result after an open socket statement. It seems that if the connection fails to open due to a name resolution problem, the error is found in the result, not a socketError message. Cheers Dave Cragg