Coder Social home page Coder Social logo

Comments (12)

mnakalay avatar mnakalay commented on August 16, 2024 3

I am on a French Windows 7 system

I can confirm that this:

  • Doesn't work from NPM
  • Works just fine with the latest Github version

from node-ping.

mondwan avatar mondwan commented on August 16, 2024

Ahh, issue sames with #64 . Can you upload a text version for the complete ping run from terminal? As I cannot patch this without a concrete example from french system :)

from node-ping.

jsdidierlaurent avatar jsdidierlaurent commented on August 16, 2024

Yes sure !

ping 127.0.0.1

Envoi d’une requête 'Ping' 127.0.0.1 avec 32 octets de données :
Réponse de 127.0.0.1 : octets=32 temps<1ms TTL=128
Réponse de 127.0.0.1 : octets=32 temps<1ms TTL=128
Réponse de 127.0.0.1 : octets=32 temps<1ms TTL=128
Réponse de 127.0.0.1 : octets=32 temps<1ms TTL=128

Statistiques Ping pour 127.0.0.1:
Paquets : envoyés = 4, reçus = 4, perdus = 0 (perte 0%),
Durée approximative des boucles en millisecondes :
Minimum = 0ms, Maximum = 0ms, Moyenne = 0ms

ping 8.8.8.8

Envoi d’une requête 'Ping' 8.8.8.8 avec 32 octets de données :
Réponse de 8.8.8.8 : octets=32 temps=6 ms TTL=58
Réponse de 8.8.8.8 : octets=32 temps=6 ms TTL=58
Réponse de 8.8.8.8 : octets=32 temps=6 ms TTL=58
Réponse de 8.8.8.8 : octets=32 temps=6 ms TTL=58

Statistiques Ping pour 8.8.8.8:
Paquets : envoyés = 4, reçus = 4, perdus = 0 (perte 0%),
Durée approximative des boucles en millisecondes :
Minimum = 6ms, Maximum = 6ms, Moyenne = 6ms

from node-ping.

BlueBird67 avatar BlueBird67 commented on August 16, 2024

For french system @Windows 10, the simple correction (but will work only for french after that), is to modify the line 51 in lib/parser/win.js

return kvp.indexOf('ms') >= 0;

with

return kvp.indexOf('temps') >= 0;

from node-ping.

mondwan avatar mondwan commented on August 16, 2024

from node-ping.

mondwan avatar mondwan commented on August 16, 2024

@jsdidierlaurent , can you give one more example which involves a domain name?

say, ping google.com?

from node-ping.

mondwan avatar mondwan commented on August 16, 2024

Please try again with the latest version in github. Thanks.

from node-ping.

jsdidierlaurent avatar jsdidierlaurent commented on August 16, 2024

Great, it works !
Thanks !

from node-ping.

adamtal3 avatar adamtal3 commented on August 16, 2024

Can this be published into npm?

from node-ping.

agpmilli avatar agpmilli commented on August 16, 2024

It seems like the version on npm still has this issue when windows language is French.
Can the fix be pushed to npm?
Thanks.

from node-ping.

Sazarov avatar Sazarov commented on August 16, 2024

Hey, is this fix going to be published to NPM? We're facing a similar issue with Spanish windows

from node-ping.

mondwan avatar mondwan commented on August 16, 2024

from node-ping.

Related Issues (20)

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.