mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
reference Socket.getaddrinfo to Addrinfo.getaddrinfo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
80c50308f9
commit
dd5b75af34
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue