Results 1 to 3 of 3

Thread: ONLINE and OFFLINE events - How does RR determine this?

  1. #1
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265

    ONLINE and OFFLINE events - How does RR determine this?

    I connect to the Internet from some apps embedded in RR via a USB RNDIS connection to WMWifiRouter (no ActiveSync needed) on my HTC Touch Pro.

    During testing when I used WiFi (not using phone), RR seemed to quickly determine online/offline status.

    However, when switched to WMWiFiRouter, the only time RR seems to fire these events is if I reboot the phone. Neither unplugging the usb cable nor turing off the phone cell radio causes the RR status to change. Interestingly, WMWiFiRouter handles both these situations and recovers without complaint.

    Other than the ONLINE/OFFLINE events, this tethering approach works great.

    So, my question is how does RR determine these states and fire the event(s)?

    Regards,
    Jim

  2. #2
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    RR determines it by whether or not you have an IP addy. If your connected to a network, regardless of whether or not that network as inet access, is considered by RR to be "ONLINE".
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  3. #3
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    RR behavior seemed to be something like that.

    I guess I'll write a quick plugin with a thread that uses something like System.Net.DNS to poll if a URL can be resolved, If yes, Internet connection, if not, no Internet.

    Thanks for the input.

    Tethering the way I do, makes Windows (and RR) think there is a connection since WMWiFiRouter acts just like a real router, has a DHCP, and supplies an IP address.

    Regards,
    Jim

Similar Threads

  1. "ONLINE" and "OFFLINE" don't work
    By mstaedt in forum Road Runner
    Replies: 2
    Last Post: 03-30-2010, 11:39 AM
  2. Proposed Web Service: Simple Online/Offline Status
    By tripzero in forum OSDash - Web Services
    Replies: 5
    Last Post: 12-22-2009, 02:41 PM
  3. Best way to determine wattage?
    By maxxell in forum General Hardware Discussion
    Replies: 4
    Last Post: 04-21-2005, 05:38 PM
  4. Offline Web Pages
    By ukchris in forum Software & Software Development
    Replies: 24
    Last Post: 11-06-2004, 09:40 PM
  5. Is there any shop(online or offline) that do job like this?
    By helloman in forum General Hardware Discussion
    Replies: 2
    Last Post: 05-01-2001, 10:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •