Coder Social home page Coder Social logo

Comments (8)

mondwan avatar mondwan commented on July 17, 2024

Hi,

Do window prints summary about the round-trip-time for either or both of success or failure cases? If so, please paste them here.

from node-ping.

GermanBluefox avatar GermanBluefox commented on July 17, 2024

D:>ping 140.80.159.35

Pinging 140.80.159.35 with 32 bytes of data:
Reply from 140.80.159.35: bytes=32 time<1ms TTL=128
Reply from 140.80.159.35: bytes=32 time<1ms TTL=128
Reply from 140.80.159.35: bytes=32 time<1ms TTL=128
Reply from 140.80.159.35: bytes=32 time<1ms TTL=128

Ping statistics for 140.80.159.35:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

from node-ping.

mondwan avatar mondwan commented on July 17, 2024

It should return false for unreachable host after this patch :D

from node-ping.

danielzzz avatar danielzzz commented on July 17, 2024

thanks a lot!

from node-ping.

GermanBluefox avatar GermanBluefox commented on July 17, 2024

it is wrong solution.

_Russian output windows_:
Ответ от 80.91.249.69: число байт=32 время=447мс TTL=240
Ответ от 80.91.249.69: число байт=32 время=411мс TTL=240
Ответ от 80.91.249.69: число байт=32 время=422мс TTL=240
Ответ от 80.91.249.69: число байт=32 время=414мс TTL=240

Статистика Ping для 80.91.249.69:
Пакетов: отправлено = 250, получено = 214, потеряно = 36 (14% потерь)
Приблизительное время приема-передачи в мс:
Минимальное = 182мсек, Максимальное = 547 мсек, Среднее = 292 мсек

_German_
Ping wird ausgeführt für 140.80.159.35 mit 32 Bytes Daten:
Antwort von 140.80.159.35: Bytes=32 Zeit<1ms TTL=128
Antwort von 140.80.159.35: Bytes=32 Zeit<1ms TTL=128
Antwort von 140.80.159.35: Bytes=32 Zeit<1ms TTL=128
Antwort von 140.80.159.35: Bytes=32 Zeit<1ms TTL=128

Ping-Statistik für 140.80.159.35:
Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0
(0% Verlust),
Ca. Zeitangaben in Millisek.:
Minimum = 0ms, Maximum = 0ms, Mittelwert = 0ms

_English_:
Pinging 140.80.159.35 with 32 bytes of data:

Reply from 140.80.159.35: bytes=32 time<1ms TTL=128
Reply from 140.80.159.35: bytes=32 time<1ms TTL=128
Reply from 140.80.159.35: bytes=32 time<1ms TTL=128
Reply from 140.80.159.35: bytes=32 time<1ms TTL=128

Ping statistics for 140.80.159.35:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

Chinese:???

We discussed just on other ping project the windows outputs:
node-red/node-red-nodes#80 (comment)

The solution with

image

works good even for linux.

from node-ping.

mondwan avatar mondwan commented on July 17, 2024

Oops. I will write another patch for that issue. Thanks for the explanation.

from node-ping.

mondwan avatar mondwan commented on July 17, 2024

I call search() instead of match() since we don't care the TTL contents atm.

Let me know whether this patch works or not.

from node-ping.

mondwan avatar mondwan commented on July 17, 2024

Please fire another ticket if there are any new problems. close #17

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.