More generally, please do not worry about \r\n somehow not generating the correct sequence. This is not something we'll dig up an EBCDIC machine with which to catch you up :-), and if \r\n doesn't generate the right sequence then surely there's a ton of broken C network code out there ... Vern