1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/socket: Make Socket documentation appear. Add documentation for

Socket, TCPServer, SOCKSSocket.  Patch by Sylvain Daubert.
  [Ruby 1.9 - Feature #5182]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2011-08-15 23:08:39 +00:00
parent 39e112f89a
commit 1297942451
16 changed files with 251 additions and 103 deletions

View file

@ -531,12 +531,12 @@ rsock_getfamily(int sockfd)
return ss.ss_family;
}
/*
* SocketError is the error class for socket.
*/
void
rsock_init_socket_init()
{
/*
* SocketError is the error class for socket.
*/
rb_eSocket = rb_define_class("SocketError", rb_eStandardError);
rsock_init_ipsocket();
rsock_init_tcpsocket();