🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #65963

Re: Xnews: A speed limiter, please

#65963
From: Murray Peterson
Date: Tue, 26 Sep 2000 06:38
19 lines
1959 bytes
kg@kgb.une.edu.au (Klint Gore) wrote:

>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. 

No special winsock calls needed at all.  Just normal socket 
open/connect/read/write calls, with some low level delays added where 
appropriate.  The delays are the flow control -- if the limiter 
program/thread is sleeping, then it's not pumping data to or from the 
network.

-- 
Murray Peterson
Email: murray_peterson@home.com (remove underscore)
URL:   http://www.members.home.net/murraypeterson
Technical Details
Message-ID: <8FBBEB01farkle@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!europa.netcrusader.net!205.252.116.205!howland.erols.net!newshub2.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!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> <8q6min$o82$1@gruvel.une.edu.au>

Show Full Headers
Complete Article Headers
Message-ID: <8FBBEB01farkle@24.64.2.57>
Subject: Re: Xnews: A speed limiter, please
Date: Tue, 26 Sep 2000 06:38:56 GMT
From: mwp@home.com.invalid (Murray Peterson)
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> <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!europa.netcrusader.net!205.252.116.205!howland.erols.net!newshub2.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/03.08.28
Lines: 18
NNTP-Posting-Host: 24.64.52.234
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.ab.home.com 969950336 24.64.52.234 (Mon, 25 Sep 2000 23:38:56 PDT)
NNTP-Posting-Date: Mon, 25 Sep 2000 23:38:56 PDT
Organization: Excite@Home - The Leader in Broadband