🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #65792

Re: Xnews: A speed limiter, please

#65792
From: Klint Gore
Date: Tue, 19 Sep 2000 03:29
35 lines
2382 bytes
In article <8FB26F2BCfarkle@24.64.2.57>, mwp@home.com.invalid says...
>while (reader_port connected)
>{
>        select(reader_port, isp_port)
>        if (data on reader_port)
>        {
>                read data from reader_port
>                write data to isp_port
>        }
>        if (data on isp_port)
>        {
>                read data from isp_port
>                write data to reader_port
>                sleep for delay time
>        }
>}

Is that how it's implemented?  There's no winsock (or whatever socket library) 
calls?  I've been trying to find out how the download managers do it and if 
it's just done via delay loops then it's fairly easy.  I would have thought 
that there was a socket call to try and do some flow control.

klint.

-- 
+---------------------------------------+-----------------+
: Klint Gore                            : "Non rhyming    :
: EMail   : kg@kgb.une.edu.au           :  slang - the    :
: Snail   : A.B.R.I.                    :  possibilities  :
: Mail      University of New England   :  are useless"   :
:           Armidale NSW 2351 Australia :     L.J.J.      :
: Fax     : +61 2 6772 5376             :                 :
+---------------------------------------+-----------------+

Technical Details
Message-ID: <8q6min$o82$1@gruvel.une.edu.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!leto.backbone.ou.edu!skywalker.ou.edu!news1.optus.net.au!optus!news.usyd.edu.au!news.une.edu.au!not-for-mail
References: <8FB18FA1Cgigdrbluewinde@195.34.133.35> <8q124e$k89@dispatch.concentric.net> <8FB1DD871farkle@24.64.2.57> <8q1hrd$dft@dispatch.concentric.net> <8FB1E2F04farkle@24.64.2.57> <8FB296295gigdrbluewinde@195.34.133.35> <8FB26F2BCfarkle@24.64.2.57>

Show Full Headers
Complete Article Headers
Message-ID: <8q6min$o82$1@gruvel.une.edu.au>
Subject: Re: Xnews: A speed limiter, please
Date: Tue, 19 Sep 2000 03:29:27 +0000
From: kg@kgb.une.edu.au (Klint Gore)
References: <8FB18FA1Cgigdrbluewinde@195.34.133.35> <8q124e$k89@dispatch.concentric.net> <8FB1DD871farkle@24.64.2.57> <8q1hrd$dft@dispatch.concentric.net> <8FB1E2F04farkle@24.64.2.57> <8FB296295gigdrbluewinde@195.34.133.35> <8FB26F2BCfarkle@24.64.2.57>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!leto.backbone.ou.edu!skywalker.ou.edu!news1.optus.net.au!optus!news.usyd.edu.au!news.une.edu.au!not-for-mail
Newsgroups: news.software.readers
Organization: University of New England, NSW, Australia
Lines: 34
NNTP-Posting-Host: kgb.une.edu.au
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
X-Newsreader: WinVN 0.99.9 (Released Version) (x86 32bit)