Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

[MBS] DarwinIFStatInterfaceMBS (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] movie.LoopingMBS
Next thread: [MBS] 9.0pr2


RE: [MBS] DOM classes for Mac OS X HTMLViewer   -   Giovanni
  [MBS] DarwinIFStatInterfaceMBS   -   Charlie Boisseau
   Re: [MBS] DarwinIFStatInterfaceMBS   -   Christian Schmitz
    Re: [MBS] DarwinIFStatInterfaceMBS   -   Charlie Boisseau
     Re: [MBS] DarwinIFStatInterfaceMBS   -   Christian Schmitz

[MBS] DarwinIFStatInterfaceMBS
Date: 06.01.09 19:39 (Tue, 6 Jan 2009 18:39:57 +0000)
From: Charlie Boisseau
Christian,

I'm having strange problems with DarwinIFStatInterfaceMBS.InputBytes
giving me negative numbers. Can you tell me how this is possible?

Thanks.

Re: [MBS] DarwinIFStatInterfaceMBS
Date: 06.01.09 22:22 (Tue, 6 Jan 2009 22:22:24 +0100)
From: Christian Schmitz
Charlie Boisseau <<email address removed>> wrote:

> Christian,
>
> I'm having strange problems with DarwinIFStatInterfaceMBS.InputBytes
> giving me negative numbers. Can you tell me how this is possible?

Well, those numbers are unsigned ints, but the plugin has them labeled
integer.

I'll change that to Uint64 and I'll try to upgrade the code to use the
64 bit functions from the system.

Gruß
Christian

-

Re: [MBS] DarwinIFStatInterfaceMBS
Date: 07.01.09 16:28 (Wed, 7 Jan 2009 15:28:38 +0000)
From: Charlie Boisseau
Christian,

That would be great.. I figured it might be a signed/unsigned issue.

Thanks.

Re: [MBS] DarwinIFStatInterfaceMBS
Date: 07.01.09 19:53 (Wed, 7 Jan 2009 19:53:19 +0100)
From: Christian Schmitz
Charlie Boisseau <<email address removed>> wrote:

> Christian,
>
> That would be great.. I figured it might be a signed/unsigned issue.

Not just that.

When I looked on it, I got reported from my Mac something like:

+2 GB received
-1 GB sent

with the signess problem that sent should be +3 GB.

But once I turned to the 64bit API, it reported 6 GB received!

Greetings
Christian