Forum: Ruby IP Routing table - RTNETLINK - sockets

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
196c55d4c9a378e23f0b89482711c17e?d=identicon&s=25 Bob Keyes (bobk)
on 2007-01-21 16:30
I wish to manipulate the routing table in Linux without having to make
system calls out to 'route'. I know that in C this can be done by using
a socket and RTNETLINK. How can I accomplish this in Ruby?

This is for an embedded application, so I don't want to drag in lots of
libraries.
This topic is locked and can not be replied to.