From: Joel VanderWerf Date: 2006-09-07T05:04:12+09:00 Subject: Re: C socket to Ruby socket nobu@ruby-lang.org wrote: > Hi, > > At Wed, 6 Sep 2006 20:41:41 +0900, > Andre Nathan wrote in [ruby-talk:212933]: >>>> extern VALUE rb_cSocket; >>>> >>>> in your extension. I've done that before. >>> It doesn't work always on all platforms. >> Will it eventually be externed in ruby.h then? > > It isn't the point. Dynamically loaded symbols may not visible > from other loaded libraries. > Socket is a pretty popular library. Maybe rb_cSocket could be declared in IO.c? just a thought, and it would be inelegant... -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407