Linux-Networking Digest #683, Volume #11 Sat, 26 Jun 99 20:13:43 EDT
Contents:
Re: Why not C++ (Jeffrey L Straszheim)
Re: Why not C++ (John E. Davis)
Re: Advice sought - ISDN modems, proxy servers and firewalls (Nick Birkett)
NIC problems ("Toky")
Re: Administrative accounts (Matt Templeton)
Re: DLink DFE530TX can't see network (Rod Smith)
Re: Why not C++ (John E. Davis)
Re: change TcpWindowSize ? (Juergen Heinzl)
Re: Networking NIC Cnet Pro-120 (Rod Smith)
Re: RH 6.0 & 3C905C TXM Problems ([EMAIL PROTECTED])
Re: Could Microsoft Cheat On The New Mindcraft Benchmark? (was: Mindcraft Retest News
Re: Replacing DSU/CSU ("Don Mills")
Re: Why not C++ (NF Stevens)
Re: Could Microsoft Cheat On The New Mindcraft Benchmark? (was: Mindcraft Retes
("Gene Heskett")
Re: Recherche Emulateur 5250 sur Linux (Gerard Marsal)
IPMASQ behind my dumb universities firewall (David Summers)
Re: FTP and IPchains\Masquerading (Ian)
Zoom 2948L ext modem connects 50k, runs 1k ("Gene Heskett")
Re: Why not C++ (Tristan Wibberley)
----------------------------------------------------------------------------
From: Jeffrey L Straszheim <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: Sat, 26 Jun 1999 16:46:30 -0400
Nathan Myers wrote:
> Tristan Wibberley <[EMAIL PROTECTED]> wrote:
> >If I'm using a C library, my program might have to say:
> > some_function( &x );
> >so, when debugging, I know right there that I can't assume x won't be
> >altered. The same thing in C++ would be:
> > some_function( x );
> False. The same thing in C++ would be the same thing, period.
> It is possible to declare non-const reference arguments in C++,
> but that doesn't mean one finds it unexpectedly, in good code.
Ah, but one doesn't always have the luxury of working with good code.
This is a wart on C++. Not a major wart, granted, and certainly one
which is easily avoided by a healthy degree of idiom, but I've seen
commercial libraries that modified reference variables.
I expect this is a C++ culture issue more so than a technical issue.
In Eiffel, for instance, one can write functions with side effects;
however, such is considered well outside of accpeted Eiffel practice.
And it turns out that I have yet to come accross any moderately serious
peice of Eiffel code which did not follow the idiom. The idiom is
presented as a central aspect of the language and the Eiffel community
has maintained it. C++ has not done so for the case of non-constant
reference function arguments.
-- Jeffrey Straszheim
-- Systems Engineer, Programmer
-- http://www.shadow.net/~stimuli
-- stimuli AT shadow DOT net
------------------------------
From: [EMAIL PROTECTED] (John E. Davis)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 26 Jun 1999 21:12:56 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 26 Jun 1999 02:21:38 -0400, Tom Leete <[EMAIL PROTECTED]>
wrote:
>This is FUD. If your compiler really acts like that, get a new compiler. And
You should probably re-read the message. If the compiler does *not*
behave the way I described, then I will get a new one. Just because I
criticized a particular C++ feature does not make me wrong, as you
apparantly have assumed.
--John
------------------------------
From: Nick Birkett <[EMAIL PROTECTED]>
Subject: Re: Advice sought - ISDN modems, proxy servers and firewalls
Date: Sat, 26 Jun 1999 21:56:17 +0100
Steve wrote:
> As a small company in Inverness, Scotland, providing internet access
> to the public as well as using it internally, we are looking to
> improve our access by replacing our current dial-up with isdn. Having
> read documentation, and contacted BT etc, a few queries remain
> unanswered. I am hoping that someone here can help.
>
> We are intending to use a 486-100 with 24Mb ram, and ISDN modem and
> two ethernet cards to route two nets, a public net and a private net,
> to the internet. The following queries are still essentially
> unanswered to my satisfaction.
>
> we will be needing to set up a proxy/proxies for http, ftp, telnet,
> news, mail etc.
>
> 1. In users experience, which is the best ISDN internal modem to use.
>
> 2. Which of the proxy servers is the best to use, easiest to set up,
> most reliable.
>
> 3. Are there any other issues that we should be considering, problems
> that need to be avoided.
>
> With thanks in advance for all help offered.
>
> Steve ([EMAIL PROTECTED])
As for ISDN modems - I would go for a PCI ISDN solution as these have no
PnP problems (i.e work "out of the box").
I have used an Elsa PCI Quickstep 1000 pro (72 quid from Simply.co.uk)
internal
ISDN TA
and a U-net (www.u-net.net) ISP connection for 128 Kbps ISDN
(works fine under Linux).
Requires a 2.0.36 or better kernel configured for ISDN- (the new 2.2.x
kernels are also fine.)
Nick Birkett
------------------------------
From: "Toky" <[EMAIL PROTECTED]>
Subject: NIC problems
Date: Sat, 26 Jun 1999 21:12:42 GMT
Anybody out there has gotten a d-Link NIC working under RH 6?
------------------------------
From: Matt Templeton <[EMAIL PROTECTED]>
Subject: Re: Administrative accounts
Date: Sat, 26 Jun 1999 21:39:20 +0000
you might look at setting up sudo
------------------------------
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: DLink DFE530TX can't see network
Date: Sat, 26 Jun 1999 21:25:03 GMT
Reply-To: [EMAIL PROTECTED]
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (John) writes:
> I've got a DLink DFE530TX NIC. I'm using Debian 2.1 kernel 2.0.36. I
> am using the via-rhine driver. I've tried the bulk 1.00 driver and
> compiled the 1.01 driver from source; however, I am still in the same
> predicament. I can't see anything when I'm in Linux. The NIC works
> fine when I'm in Win98 as I am here posting this message requesting
> help. I have two NICs in this computer and the DLink is the eth0. On
> a sidenote, I'm on ADSL, but that should make a difference as I've
> tried using "static" IPs and DHCP, but neither seems to work for me.
> I can ping myself (the 209....), but nothing else. Help help.
First, it sounds like you're trying to set up IP masquerading with this
system, is that correct? From the IP addresses below, it sounds like
you're using the D-Link (eth0) for connecting to the ADSL modem, and the
other card (eth1) for connecting to a local intranet. Is that correct?
If so, I have two debugging suggestions:
1) Strip the system down to a single card and try connecting with it.
Try this card configured both for your intranet and for connecting
to the ADSL modem. Try this with both the D-Link and the other card.
The pattern of successes and failures should help you trace the source
of the problem.
2) Try swapping the duties of the two cards -- connect the D-Link to the
intranet and the other card to the ADSL modem. It's conceivable this
will help.
I've another couple of comments below....
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
> UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
> RX packets:18 errors:0 dropped:0 overruns:0 frame:0
> TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
> Collisions:0
>
> eth0 Link encap:Ethernet HWaddr 00:60:67:08:E9:5F
> inet addr:209.53.16.169 Bcast:209.53.63.255
> Mask:255.255.192.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:19 dropped:0 overruns:0 carrier:38
> Collisions:323
> Interrupt:11 Base address:0xe400
According to this, you've received and transmitted a total of 0 packets,
but you've had 19 errors and 323 collisions. I'm not much of a networking
guru, so this doesn't scream any particular solution to me, but it does
say it's trying. Perhaps the card is being fooled into thinking it's a
100Mbps connection when in fact it's 10Mbps. (Sorry, I don't know offhand
how to force it into 10Mbps mode.)
> eth1 Link encap:Ethernet HWaddr 00:80:C8:D3:36:A6
> inet addr:192.168.1.1 Bcast:192.168.1.255
> Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:15 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> Collisions:0
> Interrupt:9 Base address:0xd400
>
>
--
Rod Smith
[EMAIL PROTECTED]
http://www.channel1.com/users/rodsmith
NOTE: Remove the "uce" word from my address to mail me
Author of _Special Edition Using WordPerfect for Linux_, from Que;
see http://www.channel1.com/users/rodsmith/books.html
------------------------------
From: [EMAIL PROTECTED] (John E. Davis)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 26 Jun 1999 21:37:09 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 26 Jun 1999 16:46:30 -0400, Jeffrey L Straszheim <[EMAIL PROTECTED]>
wrote:
>Nathan Myers wrote:
>> False. The same thing in C++ would be the same thing, period.
>
>> It is possible to declare non-const reference arguments in C++,
>> but that doesn't mean one finds it unexpectedly, in good code.
Are you (Nathan) saying that you would never find a function like
int something_silly (int& y)
{
if (y < 0)
return -1;
y += 3;
return 0;
}
in good code? Perhaps a good C++ coder would use:
int something_silly (int *y)
{
if (*y < 0)
return -1;
*y += 3;
return 0;
}
which is how it is done in C.
>Ah, but one doesn't always have the luxury of working with good code.
>This is a wart on C++. Not a major wart, granted, and certainly one
>which is easily avoided by a healthy degree of idiom, but I've seen
>commercial libraries that modified reference variables.
I agree, but the above example shows that if `y' is a scalar variable,
e.g., an int, then
if (-1 == something_silly (y))
.
.
one cannot assume that the value of `y' cannot be changed, even in
good code that uses `const' in all the right places. Unless, of
course, one always uses the `C' form with pointers.
--John
------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: change TcpWindowSize ?
Date: Sat, 26 Jun 1999 21:26:33 GMT
In article <[EMAIL PROTECTED]>,
Bio Hazard wrote:
>On my NT machine, I read about how I can improve my TCP/IP network
>performance by changing the MTU size and TcpWindowSize. The changes I
>made actually tripled my network performance! Now I'd like to do the
>same to my Linux machine, if possible.
Must admit I do not know NT, so ... ifconfig, setsockopt() on the
programmatic level and the sysctl interface (see the Documentation
directory for the kernel) are the three starting points to mess up,
aeh, tune a system. Cannot tell whether there is a need for, since
up to know the Ethernet card set the limits for me. Say if you do
not see a big difference, this might be okay. If you do, so much
the better 8-)
[...]
>Also, any good URL's for info like this?
http://kernelnotes.org ... if you scroll down, there are some
tuning related links.
Ta',
Juergen
--
\ Real name : J�rgen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
------------------------------
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Networking NIC Cnet Pro-120
Date: Sat, 26 Jun 1999 21:28:10 GMT
Reply-To: [EMAIL PROTECTED]
[Posted and mailed]
In article <tl8d3.30258$[EMAIL PROTECTED]>,
"Sean" <[EMAIL PROTECTED]> writes:
> Hi
>
> I have a C-Net NIC Pro-120 that is supposed to use the tulip driver. I have
> RH6.0. I want the NIC to activate on boot but I always get "delay eth0
> initialization" When using ifconfig, I only see the lo interface. I then run
> "insmod tulip" and this then seems to switch off the NIC indicator light,
> but I can then do a "ifconfig eth0 192.168.1.3" for example and then see the
> network address and eth0 in ifconfig. I can ping the lo and eth0 addresses
> but no other addresses. Also I can not ping the 192.168.1.3 from my other
> Win95 machine.
>
> I am getting most frustrated with this... does anyone have any suggestions
> etc that may get my NIC to work... Is this the correct driver to use. I have
> read that the C-Net Pro120 (a 10/100 card) uses the MXIC chip which is
> compatible with the tulip driver. I have gone to
> http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html and downloaded the
> latest driver tulip.c but can't seem to compile the driver properly using
> the compile commands. This page also has a link to "tulip-diag.c" which I
> have compiled and try to run but just get "bash : command not found" type of
> error????
You're on the right track. You probably do need the new Tulip driver.
The easiest way to compile it is to replace the file
/usr/src/linux/drivers/net/tulip.c with the file you now have and then
recompile your kernel and/or modules. There's plenty of documentation on
how to do this in various places, and it's a skill that IMHO any Linux
administrator needs, so it's well worth the effort to learn how to do it.
--
Rod Smith
[EMAIL PROTECTED]
http://www.channel1.com/users/rodsmith
NOTE: Remove the "uce" word from my address to mail me
Author of _Special Edition Using WordPerfect for Linux_, from Que;
see http://www.channel1.com/users/rodsmith/books.html
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware
Subject: Re: RH 6.0 & 3C905C TXM Problems
Date: Sat, 26 Jun 1999 06:36:41 GMT
Sorry, I meant to say "Cyclone" and *NOT* "Boomerang" in my previous
article.
In article <7l1rvj$pfs$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> We just purchased some Dell Dimension machines and they come with the
> 3Com 3C905C TXM NIC cards. RedHat claims that these cards are not
> supported and neither are the Netgear FX310 TX nor the 3C905B TX. They
> claim that the best card to buy is the 3Com 3c595. Unfortunately, I
> can't find this card at our local computer stores.
>
> I tried the Boomerang drivers from
> http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
> and those don't seem to work either.
>
> This is getting frustrating. After spending $78.00 for "support", I
> don't feel that I'm getting my money's worth.
>
> Any ideas for getting the 3Com 3C905C TXM cards working? When I try to
> do an insmod 3c59x, I get an error message that the "device or
resource
> is busy." When I try to specify 3c59x during the install of RH6.0, I
> get an error message that it can't find the card.
>
> Thanks in advance for your help.
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] ()
Crossposted-To:
omp.os.ms-windows.nt.advocacy,comp.os.linux.advocacy,comp.infosystems.www.servers.unix,comp.os.linux.misc
Subject: Re: Could Microsoft Cheat On The New Mindcraft Benchmark? (was: Mindcraft
Retest News
Date: Sat, 26 Jun 1999 15:11:20 -0700
On Sat, 26 Jun 1999 18:15:46 GMT, Anthony Ord <[EMAIL PROTECTED]> wrote:
>On Sat, 26 Jun 1999 11:56:07 +0100, Robin Becker
><[EMAIL PROTECTED]> wrote:
>
>>In article <7l280k$1d9i$[EMAIL PROTECTED]>, John Hughes
>><[EMAIL PROTECTED]> writes
>>>How about these? Did MS cheat also? ;)
>>>
>>>http://www.zdnet.com/pcmag/stories/reviews/0,6755,2256617,00.html
>>>
>>>http://www.zdnet.com/pcweek/stories/jumps/0,4270,401961,00.html
>>>
>>>
>>...
>>a bit off topic, but an article in my paper, the Independent, states
>>that M$'s encarta has different versions for different countries. If M$
>>can claim in the US that Edison (October 1879) invented the electric
>>light bulb before Swan (February 1879) then a few adjustments to
>>benchmark results seem minor. Apparently the M$ mouthpiece says these
>>sort of 'facts' aren't always black and white etc etc.
>
>It's just to appease the American public. Just like the
>Second World War went from 1941 (when the Americans joined)
>to 1945. What was it before that? A bun fight?
Does Encarta say that? American public school textbooks
certainly don't. Ours even covered the concentration camps.
[deletia]
--
It helps the car, in terms of end user complexity and engineering,
that a car is not expected to suddenly become wood chipper at some |||
arbitrary point as it's rolling down the road. / | \
Seeking sane PPP Docs? Try http://penguin.lvcm.com
------------------------------
From: "Don Mills" <dmills{nospam}@techcom.net>
Subject: Re: Replacing DSU/CSU
Date: Sat, 26 Jun 1999 23:12:17 GMT
Tracy Johns <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
> Hi all,
>
> I am slowly becoming communication literate. Can someone tell me if
> there is a way to replace a DSU/CSU unit with a modem or terminal
> adapter on a T1 line? I am trying to help a client who has a T1 line,
> and wants to save money by not having to buy equipment that may be able
> to be integrated into a modem (for example).
No I don't think so. A CSU/DSU is very similar to a modem, in that they
both take information from the network layer and convert it to operate over
their respective mediums. If you want to avoid buying the CSU/DSU, you can
probably find a router with one built in for a reasonable price...
--
Don Mills
CSA SCNA CCNA CCDA
Network Security Officer/WAN Engineer
VA Dept. of Social Services
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (NF Stevens)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: Sun, 27 Jun 1999 00:05:50 GMT
[EMAIL PROTECTED] (Nathan Myers) wrote:
[snip]
>If you don't know C++ templates, you don't know C++ at all. It is
>templates, for example, that make it possible to write a C++ library
>that does matrix operations as efficiently as specially-optimizing
>Fortran on machines specifically designed to run Fortran well. Unlike
>Fortran, though, C++ templates are not tuned specificially for matrix
>math, so can be used to accomplish similar wonders in any area.
I have to disagree with this. Templates do not in any way improve
the efficiency of generated code. They are no faster (and no
slower) than the equivalent hand written code. Templates only
improve the efficiency of the programmer since only one (templated)
version has to be coded rather than individual versions for each
template class.
Norman
------------------------------
Date: 26 Jun 99 07:28:55 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: Could Microsoft Cheat On The New Mindcraft Benchmark? (was: Mindcraft
Retes
Crossposted-To:
comp.os.ms-windows.nt.advocacy,comp.os.linux.advocacy,comp.infosystems.www.servers.unix,comp.os.linux.misc
Unrot13 this;
Reply to: <[EMAIL PROTECTED]>
Gene Heskett sends Greetings to Robin Becker;
RB> In article <7l280k$1d9i$[EMAIL PROTECTED]>, John Hughes
RB> <[EMAIL PROTECTED]> writes
>>How about these? Did MS cheat also? ;)
>>
>>http://www.zdnet.com/pcmag/stories/reviews/0,6755,2256617,00.html
>>
>>http://www.zdnet.com/pcweek/stories/jumps/0,4270,401961,00.html
>>
>>
RB> ...
RB> a bit off topic, but an article in my paper, the Independent, states
RB> that M$'s encarta has different versions for different countries. If M$
RB> can claim in the US that Edison (October 1879) invented the electric
RB> light bulb before Swan (February 1879) then a few adjustments to
RB> benchmark results seem minor. Apparently the M$ mouthpiece says these
RB> sort of 'facts' aren't always black and white etc etc.
RB> It was Orwell's 1984 that had the 'Ministry of Truth', but I wonder if,
RB> now that we have the technology, it's becoming a reality.
We've had one for quite a while, Robin. Where do you think George got
the idea from? Maybe Doc (E.E.) Smith, but I'd supect it goes back
farther than that. Its just that thats about the time frame I came on
the scene with a mature enough mind to start recording things.
Cheers, Gene
--
Gene Heskett, CET, UHK |Amiga A2k Zeus040 50 megs fast/2 megs chip
Ch. Eng. @ WDTV-5 |A2091,GuruRom,1g Seagate,CDROM,Multiface III
|Buddha + 4 gig WDC drive, 525 meg tape
|Stylus Pro, EnPrint, Picasso-II, 17" vga
RC5-Moo! 690kkeys/sec isn't much, but it all helps
email gene underscore heskett at iolinc dot net
--
------------------------------
From: Gerard Marsal <[EMAIL PROTECTED]>
Subject: Re: Recherche Emulateur 5250 sur Linux
Date: Sun, 27 Jun 1999 01:08:26 +0200
Il existe un projet en version alfa. Il s'appelle tn5250, tu le trouveras
sur n'importe quel chercheur ftp.
Hamid SAIDI wrote:
> Je poss�de la REDHAT 6 et je recherche un �mulateur 5250 en freeware.
>
> Quelqu'un sait-il ou je peux le trouver?
>
> Merci pour vos r�ponses...
------------------------------
From: David Summers <[EMAIL PROTECTED]>
Subject: IPMASQ behind my dumb universities firewall
Date: Sat, 26 Jun 1999 23:24:05 +0000
Here's my situation: I live on campus and have a direct connection to
the Universities network via ethernet (well, there's an ISDN between us,
but I am not on an ISDN modem). The university has a firewall, and I
don't know much anything about firewalls but basically I can do passive
FTP transfers, I can surf the web just fine (at about 60k..remember the
ISDN) and I can also use ICQ, heat.net, and certain TCP/IP network games
such as Quake. I cannot ping outside sites (it always times out) or play
games using MS DirectPlay. I don't understand why I can view internet
sites, download, etc. but can't ping. Frankly I hadn't really cared
untill now.
Anyway, I setup a small tcp network using Linux (mandrake 5.3) as a
server connected to the internet through eth0 and to a Win98 box through
eth1. I can do all the internet stuff described above on the Linux box,
and I can ping to my hearts content between Linux and Win98 (I used
class C private network IP addresses). I can also telnet from Win98 into
linux. I cannot ping outside addresses from either box, nor can I access
any internet pages from the Win98 box. I am fairly certain I set up
IPMASQ correctly because I can ping (from Win98) IP addresses on the
Universities network that are on my side of the (Universities) firewall.
Is my assumption correct that IPmasq is probably running correctly since
this is possible?
So do any of you have any tips on giving my Win98 machine the same
internet priveledges my Linux box gets? Remember, the Linux box
(actually any machine hooked directly to the universities network) can
view web pages, use ICQ, download, etc. but cannot ping anything (even
pages that are open in Netscape at the same time..how strange to me). I
have read both the NET-3 HOWTO and the IPMASQ mini HOWTO.
Thanks so much for yourtime.
David
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Ian)
Subject: Re: FTP and IPchains\Masquerading
Date: Sat, 26 Jun 1999 23:34:57 GMT
On Sat, 26 Jun 1999 23:02:58 GMT, "Don Mills"
<dmills{nospam}@techcom.net> wrote:
>Try setting your FTP client to PASV mode...
> Wrong newsgroup for that kind of drivel...
I have tried that thanks and it didt work.
Thanks also for you opinion on my "drivel" didnt really need that
though matey.
------------------------------
Date: 26 Jun 99 19:33:54 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Zoom 2948L ext modem connects 50k, runs 1k
Unrot13 this;
Reply to: <[EMAIL PROTECTED]>
Help! It looks like I've got a mis-configure, and Zoomtel was nice
enough to send me a list of inits to try, and a newer flash for the
modem, but I can't install it, it needs windoze.
So I sent this machine after the mail and news, with 'MiamiTCPDump'
running too.
The full output is 27.25k so I won't post it all here, just a few lines
so that maybe somebody can decode what it is thats its trying to tell
me.
=======
18:55:38.616682 DHCP-129-31.iolinc.net.1089 > news.iolinc.net.nntp: S
2458841804:2458841804(0) win 16384 <mss 1460,nop,nop,ccnew 79> (DF)
18:55:38.733348 news.iolinc.net.nntp > DHCP-129-31.iolinc.net.1089: S
1049198015:1049198015(0) ack 2458841805 win 8760 <mss 1460> (DF)
18:55:38.733350 DHCP-129-31.iolinc.net.1089 > news.iolinc.net.nntp: . ack 1 win 17520
(DF)
18:55:38.883351 news.iolinc.net.nntp > DHCP-129-31.iolinc.net.1089: P 1:62(61) ack 1
win 8760 (DF)
18:55:38.883354 DHCP-129-31.iolinc.net.1089 > news.iolinc.net.nntp: P 1:14(13) ack 62
win 17520 (DF)
18:55:39.000000 news.iolinc.net.nntp > DHCP-129-31.iolinc.net.1089: P 62:105(43) ack
14 win 8747 (DF)
18:55:39.133336 DHCP-129-31.iolinc.net.1089 > news.iolinc.net.nntp: . ack 105 win
17520 (DF)
18:55:39.166670 DHCP-129-31.iolinc.net.1089 > news.iolinc.net.nntp: P 14:20(6) ack 105
win 17520 (DF)
18:55:39.266672 news.iolinc.net.nntp > DHCP-129-31.iolinc.net.1089: P 105:162(57) ack
20 win 8741 (DF)
18:55:39.283339 DHCP-129-31.iolinc.net.1089 > news.iolinc.net.nntp: . 20:1480(1460)
ack 162 win 17520 (DF)
18:55:39.283341 DHCP-129-31.iolinc.net.1089 > news.iolinc.net.nntp: P 1480:2068(588)
ack 162 win 17520 (DF)
18:55:40.333340 DHCP-129-31.iolinc.net.1089 > news.iolinc.net.nntp: . 20:1480(1460)
ack 162 win 17520 (DF)
18:55:41.500012 news.iolinc.net.nntp > DHCP-129-31.iolinc.net.1089: P 105:162(57) ack
20 win 8741 (DF)
18:55:41.500014 DHCP-129-31.iolinc.net.1089 > news.iolinc.net.nntp: . ack 162 win
17520 (DF)
18:55:42.333341 DHCP-129-31.iolinc.net.1089 > news.iolinc.net.nntp: . 20:1480(1460)
ack 162 win 17520 (DF)
This thing logs in at 50k, and the 56kb lite usually stays on for
extended periods of time, but downloads and such average in the 700 to
1600 cps area, a half megger averageing maybe 1100 cps.
Help!
Cheers, Gene
--
Gene Heskett, CET, UHK |Amiga A2k Zeus040 50 megs fast/2 megs chip
Ch. Eng. @ WDTV-5 |A2091,GuruRom,1g Seagate,CDROM,Multiface III
|Buddha + 4 gig WDC drive, 525 meg tape
|Stylus Pro, EnPrint, Picasso-II, 17" vga
RC5-Moo! 690kkeys/sec isn't much, but it all helps
email gene underscore heskett at iolinc dot net
--
------------------------------
From: Tristan Wibberley <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: Fri, 25 Jun 1999 22:41:07 +0100
Reply-To: [EMAIL PROTECTED]
Johan Kullstam wrote:
>
> [EMAIL PROTECTED] (Nathan Myers) writes:
>
> > Thomas Steffen <[EMAIL PROTECTED]> wrote:
> > > C++ might not be a very elegant language, but it is
> > >fast, at least compared to other OO languages.
> >
> > Its syntax isn't very elegant, but where did that come from?
> > It's fast compared to _any_ language, period. People who say
> > it's slower than (e.g.) C are just spreading FUD.
>
> C++ *is* slower than C. not by orders of magnitude or even a factor
> of two, but if you feed code to both C and C++ compilers, the C
> compiler will optimize harder and generally make a better product.
> this is because C is more mature and that C++ code is potentially more
> complex which causes a more conservative compile.
A compiler is *not* C++.
C++ can *easily* create faster code. *Any*thing you can do in C you can
do in C++ with identical syntax (or near identical in a few cases such
as where C++ requires an explicit class), which allows the programmer to
at least match the speed in any cases where it could help. Classes,
inheritance, templates and explicit references (which are *not*
alternate syntax for pointers except when calling a non-inlined
function) allow the programmer to provide alternate code for special
cases much simpler than in C and which the compiler can optimise easier.
Doing many of these things with C syntax can become so ugly and
difficult that it would be stupid to try to do it (for maintenance
reasons), and people *have* to use the C equivalent to virtual functions
(arrays of function pointers) where, in C++, the programmer has the
option of going non-virtual, or even inline.
For small programs, C's speed potential *may* be greater than C++'s -
for big ones, no-way.
--
Tristan Wibberley Linux is a registered trademark
of Linus Torvalds.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.networking) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Networking Digest
******************************