Hi Douglas,Thanks for your help. I've spent about 6 hours on this problem and it has just vanished ...I tried elinks as a substitute for telnet ... telnet does succeed in the socket handshake, to is useful for quick test of that part of the connection.