Re: [nodejs] Pinging (ICMP) with nodejs

751 views
Skip to first unread message

Shawn Parrish

unread,
Oct 11, 2012, 10:15:15 AM10/11/12
to nod...@googlegroups.com
This may be what you're looking for.

https://github.com/wearefractal/pinger

Shawn
http://nodeping.com

On Thu, Oct 11, 2012 at 7:39 AM, Umut Muhaddisoglu
<umutmuha...@gmail.com> wrote:
> Is it possible to make ping requests with nodejs without using the "system
> ping utility"?
>
> The "system ping utility" forks a new process for each concurrent ping and
> that ends up in lots of CPU-Ram usage.
>
> I have seen this thread
> (http://stackoverflow.com/questions/4737130/how-to-ping-from-a-node-js-app)
> but maybe something original exists.
>
> Thanks.
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

Umut Muhaddisoglu

unread,
Oct 12, 2012, 7:41:47 AM10/12/12
to nod...@googlegroups.com
I'm on Windows and Pinger says it needs node-waf which Windows dpes not have :(

Any other options or a workaround for this?

11 Ekim 2012 Perşembe 17:15:46 UTC+3 tarihinde Shawn yazdı:

Bert Belder

unread,
Oct 12, 2012, 9:33:02 AM10/12/12
to nod...@googlegroups.com
On Friday, October 12, 2012 1:41:47 PM UTC+2, Umut Muhaddisoglu wrote:
I'm on Windows and Pinger says it needs node-waf which Windows does not have :(

Any other options or a workaround for this?

Even if pinger had node-gyp support, pinger would not work. I am not aware of any existing libraries that do this on windows, so you'll probably have to write your own bindings (see http://msdn.microsoft.com/en-us/library/windows/desktop/aa366045%28v=vs.85%29.aspx).

- Bert

Umut Muhaddisoglu

unread,
Dec 5, 2012, 3:23:59 AM12/5/12
to nod...@googlegroups.com
Bert and Shawn,

Thanks so much for the answers and creating something custom seems to be over my talents for now.

If anyone has a ready-to-use solution, I'll be glad to hear it.

Thanks.



11 Ekim 2012 Perşembe 17:15:46 UTC+3 tarihinde Shawn yazdı:
This may be what you're looking for.
Reply all
Reply to author
Forward
0 new messages