RubyGems.org

This lib is a wrapper for get_ifaddrs C routine. The original routine returns a linked list that contains avaliable inet interfaces. This lib walks on list and return an hash that contains the interface names and sub-hashes with respectives ip addresses and netmasks.

installgem install system-getifaddrs -v 0.2.0
Authors

Bruno Coimbra

10,438 total downloads 2,473 for this version
Owners

7fc6e36792be02433d6266b4eae45635

Gemfile
gem 'system-getifaddrs', '~> 0.2.0'
Versions
  1. 0.2.1 January 23, 2014 (8.5 KB)
  2. 0.2.0 June 6, 2013 (7.5 KB)
  3. 0.1.5 September 12, 2012 (7 KB)
  4. 0.1.4 May 2, 2012 (7 KB)
  5. 0.1.3 May 2, 2012 (7 KB)
Show all versions (8 total)
Development Dependencies
  1. rake-compiler >= 0
  2. rspec ~> 1.3