Class: Raindrops::InetDiagSocket

### Home Classes Methods

### In Files

- lib/raindrops.rb

### Parent

cIDSock

### Methods

- ::new

### Files

- LICENSE
- NEWS
- README

### Class/Module Index

Quicksearch

- Raindrops
- Raindrops::Aggregate
- Raindrops::Aggregate::LastDataRecv
- Raindrops::Aggregate::PMQ
- Raindrops::InetDiagSocket
- Raindrops::LastDataRecv
- Raindrops::Linux
- Raindrops::ListenStats
- Raindrops::Middleware
- Raindrops::Middleware::Proxy
- Raindrops::Middleware::Stats
- Raindrops::Struct
- Raindrops::TCP_Info
- Raindrops::Watcher

No matching classes.

# Raindrops::InetDiagSocket

This is a subclass of `Socket` specifically for talking to the inet_diag facility of Netlink.

### Public Class Methods

Raindrops::InetDiagSocket.new → Socket click to toggle source

Creates a new Socket object for the netlink inet_diag facility

    static VALUE ids_s_new(VALUE klass)
    {
            VALUE argv[3];

            argv[0] = INT2NUM(AF_NETLINK);
            argv[1] = INT2NUM(my_SOCK_RAW);
            argv[2] = INT2NUM(NETLINK_INET_DIAG);

            return FORCE_CLOEXEC(rb_call_super(3, argv));
    }

[Validate]

Generated with the Darkfish Rdoc Generator 2.