From: "Berger, Daniel" Date: 2002-08-07T20:52:14+09:00 Subject: RE: -proto- functions in Ruby > -----Original Message----- > From: matz@ruby-lang.org [mailto:matz@ruby-lang.org] > Sent: Tuesday, August 06, 2002 11:05 PM > To: ruby-talk@ruby-lang.org > Subject: Re: -proto- functions in Ruby > > > Hi, > > In message "-proto- functions in Ruby" > on 02/08/07, Daniel Berger writes: > > |Are there plans to add any of the proto functions to Ruby in > the near future? > | If so, will they be added as class methods to "Socket" or > will it be a > |subclass of "Etc" (e.g. Etc::Proto)? > > Sorry for ignorance, but what is the "proto functions"? > Where can I get information about these functions? > > matz. Sorry - I meant to provide at least one example of what I meant! I'm talking about "getprotobyname", "getprotobynumber", "getprotoent", "setprotoent" and "endprotoent". I found the source for these at http://www.ajk.tele.fi/libc/code.html, though I'm not sure how old this is. There also seems to be a minor bit of BSD specific code (the external int). Thanks, Dan