Path: utzoo!utstat!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!snorkelwacker!ira.uka.de!smurf!urlichs From: urlichs@smurf.sub.org (Matthias Urlichs) Newsgroups: news.software.nntp Subject: Re: improved nntpxfer Message-ID: <1990Mar14.231020.5784@smurf.sub.org> Date: 14 Mar 90 23:10:20 GMT References: Organization: University of Karlsruhe, FRG Lines: 23 In news.software.nntp, article , zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff) writes: < I wanted to use nntpxfer, so I made some improvements - basically more < efficient reads and batching of articles into memory and then popening < rnews when the buffer gets full. Let me know if you want to beta test < a copy. < I decided to go the simpler route and, instead of popen()ing inews, just create a temporary file and rename it to "/usr/spool/news/xfer.%d.%d", getpid(), counter++ (and let the next rnews -U deal with it). Another improvement is to open two NNTP channels to your favorite server. On one, you do your NEWNEWS, and the other is used to fetch articles as soon as their IDs come in over the first channel. This is necessary on some low-speed Internet links like ours (which frequently makes nntpd time out, drops connections, and other fun stuff) and basically enabled us to get 24 hours of Usenet traffic in 14 hours instead of 30. I'd like to convert this to a somewhat better C programming style before letting the rest of the world see it, though... -- Matthias Urlichs