8 Jul 2005 16:48
docs patch for class IPSocket, class Socket, and Socket.getservbyname, Socket.getaddrinfo
Sam Roberts <sroberts <at> uniserve.com>
2005-07-08 14:48:59 GMT
2005-07-08 14:48:59 GMT
I don't have the time to continue, but if somebody is interested, I
think the following is fairly useful - get rid of the comment before
committing.
Note that I don't know what some of the possible AI_ flags do, thus the
"...".
Its against the 1.8 src, sorry.
Cheers,
Sam
Index: socket.c
===================================================================
RCS file: /src/ruby/ext/socket/socket.c,v
retrieving revision 1.108.2.29
diff -u -r1.108.2.29 socket.c
--- socket.c 2 Jul 2005 15:22:11 -0000 1.108.2.29
+++ socket.c 8 Jul 2005 14:40:38 -0000
<at> <at> -2236,6 +2236,36 <at> <at>
return rb_str_new(ptr, len);
}
+/*
+ * Document-class: IPSocket
+ *
+ * IPSocket is the parent of TCPSocket and UDPSocket and implements function
+ * common to them.
+ *
+ * A number of APIs in IPSocket, Socket, and their descendants return an
(Continue reading)
- -a, --add=TORUN Add TORUN to the list of things to run; can be a file or a directory.
+ -a, --add=FILE Add FILE to the list of things to run; can be a file or a directory.
RSS Feed