PDA

View Full Version : Network card byte counter resets at 4GB


anarchist
07-04-2004, 01:26 PM
In WinXP Pro, is there anyway to make the byte counter for my NIC stop resetting at 4GB in or out?

<P ID="signature"></P>

SirDaShadow
07-06-2004, 02:00 AM
> In WinXP Pro, is there anyway to make the byte counter for
> my NIC stop resetting at 4GB in or out?
>
Byte counter? I have a packet counter. Lots of bytes per packet, not sure how many. Prolly per ehternet frame MTU which is 1500 bytes in a LAN. So 1 packet= 1.5 KBytes. Not sure if this is "real" transfer or raw transfer. So assuming "real" transfer, your NIC card is reseting at 4GB X 1.5kBytes=4TB?

That's a shitload of data my friend...


<P ID="signature"></P>

mFC
07-06-2004, 02:24 AM
xp gives you a byte or packet counter depending on what kind of connection you have. my shuttle has a packet counter, the laptop via wifi has a byte counter, obviously a computer directly connected to a cable modem has a byte counter, etc.

Chris

<P ID="signature"><center>http://www.zophar.net/personal/mfc/wooty.jpg</center></P>

SirDaShadow
07-06-2004, 07:36 PM
> xp gives you a byte or packet counter depending on what kind
> of connection you have. my shuttle has a packet counter,
> the laptop via wifi has a byte counter, obviously a computer
> directly connected to a cable modem has a byte counter, etc.
I dunno about wifi, haven't noticed if it's byte or packet (I do have a couple around the house with an AP). But what stumbles me is the cable modem...you mean if a cable modem is connected directly as in USB? Because if it's connected thru ethernet then it should be a packet counter right?



<P ID="signature"></P>

anarchist
07-06-2004, 10:03 PM
I should have explained this more clearly. In mIRC, the information for my NIC resets at 4GB (im using the sysinfo addon). I'm sure this isn't a script problem but something to do with windows.

<P ID="signature"></P>

MegaManJuno
07-07-2004, 02:59 AM
> I should have explained this more clearly. In mIRC, the
> information for my NIC resets at 4GB (im using the sysinfo
> addon). I'm sure this isn't a script problem but something
> to do with windows.
>

Well, if they are using a 32-bit unsigned integer to store the value of the counter, then I believe that 4GB would be the limit that it could store. ...I could be wrong, but that sounds like it could have something to do with it to me.

<P ID="signature"></P>

MasterHD
07-07-2004, 07:35 AM
> Well, if they are using a 32-bit unsigned integer to store
> the value of the counter, then I believe that 4GB would be
> the limit that it could store. ...I could be wrong, but
> that sounds like it could have something to do with it to
> me.

That's exactly the problem. I noticed this when I made a program for sharing files. The max number that a 32 bit integer can store is 2^32 = 4294967296. Which is the same as 4GB. To get around the problem i just used "double" variable type instead of "int".

<P ID="signature">________________________________________________
It's complicated, we're blue, its blue... Tucker, you tell him why the flags so important.
Red v. Blue (http://www.redvsblue.com)</P>