W3C home > Mailing lists > Public > public-device-apis@w3.org > December 2013

Re: Network Information API

From: Doug Turner <doug.turner@gmail.com>
Date: Sat, 07 Dec 2013 22:21:44 -0800
Message-ID: <52A40FF8.3080605@gmail.com>
To: Josh Soref <jsoref@blackberry.com>, Marcos Caceres <w3c@marcosc.com>, "Kostiainen, Anssi" <anssi.kostiainen@intel.com>
CC: "<public-device-apis@w3.org>" <public-device-apis@w3.org>
Hey Josh,

Do you have a list of use cases that this networking information API
would fulfill?


On 12/6/13, 8:39 AM, Josh Soref wrote:
> Fwiw, Iım considering a network information api which is based on network
> interfaces.
> interface NetworkAdapter {
>   string uuid;
>   bool connected;
>   string[] localaddresses;
>   string[] gateways;
>   /* possibly exposing dns server information */
> }
> With a notice going out for each up/down of each interface.
> When I take my phone and it switches from only having cellular to having
> cellular + wifi, Iıd get a notification for the new adapter, that
> notification is a hint that routing may have changed and performance
> characteristics may be different.
> For BlackBerry devices, there is a third network which can easily go
> up/down which is the Work network (itıs roughly a VPN), and then thereıs
> also a normal VPN connection available ‹ each would notify (but only if
> theyıre available to the given application ‹ the Work network may or may
> not be exposed to non Work applications at the user/adminıs discretion).
> I havenıt started prototyping this, but I believe that in theory this
> covers all the actual use cases I can imagine.
> When routing changes, itıs quite likely that performance characteristics
> will change.
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Received on Sunday, 8 December 2013 06:22:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:01 UTC