Re: Getting the actual speed via "Internet Connect"
Re: Getting the actual speed via "Internet Connect"
- Subject: Re: Getting the actual speed via "Internet Connect"
- From: "John W. Baxter" <email@hidden>
- Date: Sat, 06 Sep 2003 06:31:16 -0700
- Envelope-to: email@hidden
On 9/5/2003 18:50, "Nico Christie" <email@hidden> wrote:
>
Hello everyone!! I'm having a problem with this program I'm writing. I would
>
like to log, when connecting to the internet via msdem using a dial-up
>
connection,
>
the time spend and the speed of the connection. Now, this works:
>
>
set time_spend to (seconds connected of status of current configuration)
>
-> number in seconds (240, 600, 2000, etc.)
>
>
but this:
>
>
set the_speed to (speed of status of current configuration)
>
-> 115200
>
>
which is a possible (I wish...) connection speed (it's actually the speed
>
the user sets as the "top speed" in the Preferences). In reality it's a
>
little diferent, more like: 33600, 44000 or 48000 tops. I don't now if it's
>
just a bug or if I'm missing something. Thanks for the help.
Well, the 115200 is the serial port speed, and is as you say of no interest
(after the machine is configured).
You don't tell us what Mac OS version...both Mac OS X and the old stuff keep
modem connection logs, which include the *initial* connection speed, and
which you could access. Those are the speeds reported in the GUI. You
won't find out the current connection speed...only the speed from the other
end to you at which the connection was initially negotiated. (3COM/USR, and
some others, deliberately make the initial connection at a higher speed than
they know they can sustain, for marketing reasons...then quickly reduce.
But some 3COM firmware versions had errors in the downward
negotiation--failure to implement standards--which dropped calls. Sigh.)
The speed in the two directions of the call differ...usually slightly in
V.34, radically in V.90 (which cannot create speeds over 33.6--and never
does that--in the upload direction...it's very common to see things like
51333 down and 24000 up. ISP equipment (most of it) can give the current
speed each direction...the Mac software couldn't learn the upload speed (the
modems don't report it), and doesn't try to learn the current download speed
(some modems report it; most don't). The CISCO ISP equipment goes lots
farther than just current speed each direction...it will draw a graph of the
current frequency response curve for the connection...some of those are
enough to convince one that modems are impossible.
--John
At present (early morning...darn pager) in one machine I see connections at
28800 down; 24000 up
26400 down; 24000 up
21600 down; 7200 up (This has tried adjustments 25 times during the call)
(And some ISDN connections, which are easy: 64K each way <there's a form of
ISDN which runs 56K each way>...it's either connected at that speed or not
connected.)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.