Article View: news.software.nntp
Article #68466Re: homebrew nntp server: outlook behaves strange!
From: Yuri Schaeffer
Date: Sat, 06 Mar 2004 23:53
Date: Sat, 06 Mar 2004 23:53
14 lines
1907 bytes
1907 bytes
> Are you by any chance going through standard IO and trying to use your > sockets in text mode? Don't do that, it may do the right thing under > Windows but it will produce the wrong results under Unix. Always open > your streams as binary and explicity send the line ending as \r\n . The line endings where indeed the problem. (I use java btw) I use the println method of a PrintWriter, apperently it only uses a \n this is fixed now by manually add a \r. I couln't find anything about opening my Sockets in binary in the API I presume it is binary by default. My news-server works fine now. Thank you very much! Yuri
Technical Details
Message-ID:
<nwt2c.69628$KL3.48226@amsnews05.chello.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!amsnews01.chello.com!amsnews04.chello.com!amsnews05.chello.com.POSTED!53ab2750!not-for-mailReferences:
<Zps2c.1903$pN4.1155@amsnews03.chello.com> <iMeowbot-45BFC1.18051906032004@news.supernews.com>Show Full Headers
Complete Article Headers
Message-ID: <nwt2c.69628$KL3.48226@amsnews05.chello.com> Subject: Re: homebrew nntp server: outlook behaves strange! Date: Sat, 06 Mar 2004 23:53:55 GMT From: Yuri Schaeffer <mikrosofty@hotmail.com> References: <Zps2c.1903$pN4.1155@amsnews03.chello.com> <iMeowbot-45BFC1.18051906032004@news.supernews.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!amsnews01.chello.com!amsnews04.chello.com!amsnews05.chello.com.POSTED!53ab2750!not-for-mail User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <iMeowbot-45BFC1.18051906032004@news.supernews.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 14 NNTP-Posting-Host: 24.132.116.225 X-Complaints-To: abuse@chello.nl X-Trace: amsnews05.chello.com 1078617235 24.132.116.225 (Sun, NNTP-Posting-Date: Sun, 07 Mar 2004 00:53:55 MET Organization: chello broadband