Article View: news.software.nntp
Article #68468Re: homebrew nntp server: outlook behaves strange!
From: Yuri Schaeffer
Date: Sun, 07 Mar 2004 08:06
Date: Sun, 07 Mar 2004 08:06
17 lines
1960 bytes
1960 bytes
I Think something went wring with my reply, a repost: > 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:
<dKA2c.74202$KL3.7313@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: <dKA2c.74202$KL3.7313@amsnews05.chello.com> Subject: Re: homebrew nntp server: outlook behaves strange! Date: Sun, 07 Mar 2004 08:06:33 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: 17 NNTP-Posting-Host: 24.132.116.225 X-Complaints-To: abuse@chello.nl X-Trace: amsnews05.chello.com 1078646793 24.132.116.225 (Sun, NNTP-Posting-Date: Sun, 07 Mar 2004 09:06:33 MET Organization: chello broadband