Code Monkey home page Code Monkey logo

Comments (3)

JonyIvy avatar JonyIvy commented on August 17, 2024

I have seen a yellow dot on one occasion, which probably means there is no connection?
But usually when I lose the network connection, that is turning WiFi off or unplugging the connection to the dock, MenuPing keeps showing the last ping value (while ping in the command line shows 'no route to host / request timeout').

from menuping.

julienbordet avatar julienbordet commented on August 17, 2024

Hi @JonyIvy

I'm glad you like MenuPing.

Internally MenuPing uses the ping3 python library, that returns :

  • either False on error -> that is printed with a Red dot
  • either None on timeout -> that is printed with a Yellow dot

"Error" (red dot) generally means that the domain name was false (which should not be the case with MenuPing, except if you change the target domain to a non existant one), or that there was network error (for instance, that you switched your Wifi off).

I have not observed that when switching the Wifi off, the last ping value is still showing in my environment.

Could you confirm if it is always the case ?

from menuping.

JonyIvy avatar JonyIvy commented on August 17, 2024

Yes it always keeps showing the last value, whether I'm on WiFi and turn WiFi off, or I'm on dock/hub with Ethernet and disconnect the dock.
MacOS 13.6.2 (22G320)

from menuping.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.