Sha256: 6396ab8d8e15480343e5136498386f8689f20337aa02d529ab2268353f9afd58

Contents?: true

Size: 227 Bytes

Versions: 6

Compression:

Stored size: 227 Bytes

Contents

require 'ffi/libc/types'

module FFI
  module LibC
    #
    # Used to represent a 32-bit IPv4 address in a `sock_addr_in` structure
    # 
    class InAddr < ::FFI::Struct

      layout :in_addr, :in_addr_t

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ffi-libc-0.1.1 lib/ffi/libc/in_addr.rb
ffi-libc-0.1.0 lib/ffi/libc/in_addr.rb
ffi-libc-0.0.5 lib/ffi/libc/in_addr.rb
ffi-libc-0.0.4 lib/ffi/libc/in_addr.rb
ffi-libc-0.0.3 lib/ffi/libc/in_addr.rb
ffi-libc-0.0.2 lib/ffi/libc/in_addr.rb