🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69673

Re: POST -> no response, but message is posted.

#69673
From: Florian Zschocke
Date: Sun, 08 Aug 2004 18:40
18 lines
1895 bytes
curt@kcwc.com (Curt Welch) wrote:
>
Thank you Curt
>
>If you are using ASYNC IO by setting a NONBLOCK option, then you are into a
>more complex programming problem.  It's unlcear from your response above if
>you have done that, or if you have not, and are just confused by what your
>code is doing.  If you are using ASYNC IO, then you need to use a select()
>with (or without) a timeout value to wait for data to show up (or to wait
>forever).  But you still need to loop doing the select, and reading data,
>until the full command has shown up, because like above, you can't assume
>the full response will show up in a single read.
>
I think, that is my main problem, that I still don't understand what is 
the difference between blocking an nonblocking. 

Florian
Technical Details
Message-ID: <41167396$0$28854$9b4e6d93@newsread4.arcor-online.net>
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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!news.arcor.de!not-for-mail
References: <20040808125855.840$hk@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <41167396$0$28854$9b4e6d93@newsread4.arcor-online.net>
Subject: Re: POST -> no response, but message is posted.
Date: Sun, 08 Aug 2004 18:40:22 +0000
From: Florian Zschocke <edv@zschocke-berlin.de>
References: <20040808125855.840$hk@newsreader.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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!news.arcor.de!not-for-mail
Newsgroups: news.software.nntp
User-Agent: Xnntp/beta02 (PPC Mac OS 10.3)
MIME-Version: 1.0
Content-Type: text/plain
Lines: 18
Organization: Arcor
NNTP-Posting-Date: 08 Aug 2004 20:40:22 MEST
NNTP-Posting-Host: 6687c64a.newsread4.arcor-online.net
X-Trace: DXC=e?6lnMBQDDUXNWN:<mWDZP:ejgIfPPldTjW\KbG]kaMXlSE5DYV?adQiFW19=\2:9YfLA7=4=P?HYLT?acV8Ec;
 [
X-Complaints-To: abuse@arcor.de