Subject: Re: [ruby-ffi] How to call system libraries |
From: Jeremy Voorhis |
Date: 10/29/10 11:25 PM |
To: ruby-ffi@googlegroups.com |
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!