Subject:
[ruby-ffi] How to call system libraries
From:
Steve
Date:
10/29/10 7:38 PM
To:
ruby-ffi

I am just leaning FFI and am having problems calling linux network
functions.

In a C file I might do #include <arpa/inet.h>

However, in ruby ffi neither ffi_lib 'arpa/inet' nor ffi_lib 'inet'
works. I can't get socket either.

Any help is appreciated!