How to “Ping” from a Node.js app?

前端 未结 6 1205
囚心锁ツ
囚心锁ツ 2020-12-14 05:42

I want to ping a server from my node.js app.

Is that doable?

Thanks

6条回答
  •  我在风中等你
    2020-12-14 06:05

    I'm author of ping-wrapper.

    It spawn ping and you can listen to events immediately. If process quits, it will be spawn automatically.

提交回复
热议问题