Thread View: news.software.nn
2 messages
2 total messages
Started by Makoto ja1xms Fujiwara
Sun, 28 Jul 1996 00:00
nntp.c: use_nntp = (strcmp(host, server_real_name) != 0);
Author: Makoto ja1xms Fujiwara
Date: Sun, 28 Jul 1996 00:00
Date: Sun, 28 Jul 1996 00:00
20 lines
1206 bytes
1206 bytes
The variable use_nntp is assigned at nntp.c and it says if the host running client nn is the same as the NNTP server, do not use nntp instead looking into the news spool/active file directly. I do not see the advantage in doing this ( if XOV is active ). Several setup/path definition may be different for use_nntp = 1 or 0. By disabling use_nntp if XOV is defined, ( and of course NNTP is defined ), we don't have to worry about some definition in Makfile. Am I wrong ? Or the situation is that no one can here this kind of discussion ? ( No one maintain the code ? ) Makoto Fujiwara makoto@komekome.bay.prug.or.jp Packet Radio Users Group at Bay area in Chiba
Re: nntp.c: use_nntp = (strcmp(host, server_real_name) != 0);
Author: Larry Daffner
Date: Sun, 28 Jul 1996 00:00
Date: Sun, 28 Jul 1996 00:00
30 lines
1869 bytes
1869 bytes
Makoto ja1xms Fujiwara <makoto@komekome.bay.prug.or.jp> writes: > The variable use_nntp is assigned at nntp.c and it says if >the host running client nn is the same as the NNTP server, do not >use nntp instead looking into the news spool/active file directly. > > I do not see the advantage in doing this ( if XOV is active ). >Several setup/path definition may be different for use_nntp = 1 or 0. > By disabling use_nntp if XOV is defined, ( and of course NNTP is defined ), >we don't have to worry about some definition in Makfile. This can be a major win, especially with growing active files. Since the active file contains 1 line for every newsgroup the server carries (which is usually between 6000 and 20,000 groups, these days) at ~60char/line (did a little test), you save 360K-1M of transfer per reader. Include the newsgroups file, which nn also reads, and that figure doubles. Also figure in that if they are not local, nn keeps the copies in memory, and you can see that it will help, especially if there are many readers. -Larry -- Larry Daffner | Linux: Unleash the workstation in your PC! vizzie@airmail.net / http://web2.airmail.net/vizzie/ Clarke's Third Law: Any sufficiently advanced technology is indistinguishable from magic.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads