Comments (8)
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.
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.
It should return false for unreachable host after this patch :D
from node-ping.
thanks a lot!
from node-ping.
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
works good even for linux.
from node-ping.
Oops. I will write another patch for that issue. Thanks for the explanation.
from node-ping.
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.
Please fire another ticket if there are any new problems. close #17
from node-ping.
Related Issues (20)
- Command injection HOT 6
- Not works in Japanese locale environment HOT 1
- Async-Await example broken HOT 4
- Misleading values in returned object when the cable is unplugged or the host doesn't exist HOT 6
- isAlive false, no error in electron, but isAlive true (same IP) under node? HOT 6
- feature 'Include inputHost in the PingResponse' not published to npm HOT 1
- Multiple interface on debian HOT 5
- Using node-ping on Heroku HOT 1
- Used for third party server satus check HOT 4
- Unable to ping IPv6 address - There is no timeout option on ping6 HOT 2
- Program crash HOT 2
- Property 'promise' does not exist on type '() => Promise<void>'. HOT 2
- Using node-ping in REST API (ExpressJS) HOT 4
- output does not log special characters HOT 5
- Bug: Response data comes back with unknowns. HOT 2
- missing error messages from stderr HOT 10
- no warning when ping is not installed HOT 4
- Is it possible to set timeout < 1 sec HOT 1
- Error: spawn EPERM on Pterodactyl Server HOT 5
- why "ping.pcap" is commented HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-ping.