Where is socket defined

Can someone tell me where the implementation source is for socket.so?
I can find socket.so but haven’t found either the headers or .cc files
for socket.

I’m trying to understand what socket does internally.

//ed

Hi,

In some linux/unix distribution, “socket.c” is placed under
DIR/ruby-1.x.x/ext/socket/. If you got some Windows distribution,
probably some (or most) of the source codes are not included.

Regards,

Bill

···

===========================================================================
Edward Wilson web2ed@yahoo.com wrote:

Can someone tell me where the implementation source is for socket.so?
I can find socket.so but haven’t found either the headers or .cc files
for socket.

I’m trying to understand what socket does internally.

//ed