Software Details:
Version: 1.7.6
Upload Date: 1 Mar 15
Distribution Type: Freeware
Downloads: 285
It works with both TCP and UDP packets.
Features:
- Ping::TCP
- Ping::UDP
- Ping::External
- Ping::HTTP
- Ping::ICMP
- Ping::WMI
What is new in this release:
- Changed TCP handling yet again, as it was returning false positives.
What is new in version 1.7.4:
- Remove the Timeout block for the Ping::HTTP class because it wasn't working with JRuby. Instead, we use the builtin open_timeout and read_timeout accessors on the underlying http request.
- The Ping::HTTP#ping? more robustly parses out the port from the URI argument if provided. In addition, the default port is again set back to 80 as a last resort in the constructor.
- Added timeout and port tests for the Ping::HTTP class.
- If a host is unreachable explicitly set the result to false regardless of the actual exit status. This appears to only affect Windows 7 and later.
- Reinstated the Timeout block for the Ping::ICMP class. Without it, threaded pings could end up in an infinite loop.
What is new in version 1.3.2:
- Doing a 'require "net/ping"' was not automatically loading the Net::Ping::WMI class on MS Windows. This has been fixed.
- Removed all $LOAD_PATH mangling for both the library and tests.
- Fixed a bug in the Net::Ping::HTTP class where a failed redirect did not set the @exception and @warning instance variables properly.
- The PingStatus struct returned by Net::Ping::WMI is now frozen.
- The test-unit library was switched from a runtime dependency to a development dependency.
- Added the :gem Rake task that builds a gem.
- Updated the :gem_install task to use the :gem task as a prerequisite.
- Updated the dependencies for MS Windows.
- The Rake test tasks are now more Rakish, e.g. test:tcp instead of test_tcp.
- Renamed example file names to avoid any potential confusion with actual test files.
Requirements:
- Ruby 1.8.0 or higher
- The win32-open3 (1.8.x) and Windows-pr libraries are required on MS Windows when using the Net::Ping::External class.
- Windows 2000 or later is required to use the Ping::WMI class
Limitations:
- Older versions of Ruby 1.9.x may not work with UDP pings.
Comments not found