diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 23:23:05 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 23:23:05 +0000 |
commit | dd5b75af34d6dd561cd16c1e1d48de8b12177bbb (patch) | |
tree | 782822b441dc131f6d398c10166d31efde46d130 /ext/socket | |
parent | 80c50308f9db813e999367ec5d116e2d2be9f840 (diff) | |
download | ruby-dd5b75af34d6dd561cd16c1e1d48de8b12177bbb.tar.gz |
reference Socket.getaddrinfo to Addrinfo.getaddrinfo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/socket.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c index a24eef5a07..8cb461cbf3 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -1164,6 +1164,9 @@ sock_s_getservbyport(int argc, VALUE *argv) * * Obtains address information for _nodename_:_servname_. * + * Note that Addrinfo.getaddrinfo provides same functionality in + * object oriented style. + * * _family_ should be an address family such as: :INET, :INET6, etc. * * _socktype_ should be a socket type such as: :STREAM, :DGRAM, :RAW, etc. |