Ping a site in ruby?

What replacements are available for pinging an ip address in Ruby? The stdlib "ping" library seems to be pretty limited in functionality. I'm not interested in rolling my own code here. Are there good gems available? Should I just suck it up and live with it?

(I'm coding in Ruby 1.8.6 on Linux)


net-ping is worth a look. It allows for TCP pings (like the standard ruby ping) but also UDP, HTTP, and ICMP pings. An ICMP ping requires root privileges but the others do not.

Need Your Help

What is WDM Capture Device and Legacy VFW Capture Device?

video video-streaming video-capture video-processing video-encoding

What are the differences between these 2 things WDM Capture Device and Legacy VFW Capture Device?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.