Registry / networking / net-ping

net-ping

JSON →
library2.0.8rbrubygemsunverified

Provides a ping interface for Ruby including TCP, HTTP, LDAP, ICMP, UDP, WMI, and external ping classes.

gem install net-ping
INSTALL
IMPORT
SIG · NET-PING
N
net-ping
networkingrubyv2.0.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Net::Ping
require 'net/ping'

Check if a TCP port is reachable.

require 'net/ping' ping = Net::Ping::TCP.new('example.com', 80) puts ping.ping?
Debug
Known issues
gotchaICMP ping requires root or special privileges on most systems.
fix
Use TCP or HTTP ping instead, or run with elevated permissions.
affects: >= 0
Upgrade
Version history
2.0.8latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
net-ping — gem install net-ping · libregistry