[前][次][番号順一覧][スレッド一覧]

ruby-changes:48207

From: akr <ko1@a...>
Date: Sun, 22 Oct 2017 08:23:09 +0900 (JST)
Subject: [ruby-changes:48207] akr:r60321 (trunk): reference Socket.getaddrinfo to Addrinfo.getaddrinfo.

akr	2017-10-22 08:23:05 +0900 (Sun, 22 Oct 2017)

  New Revision: 60321

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60321

  Log:
    reference Socket.getaddrinfo to Addrinfo.getaddrinfo.

  Modified files:
    trunk/ext/socket/socket.c
Index: ext/socket/socket.c
===================================================================
--- ext/socket/socket.c	(revision 60320)
+++ ext/socket/socket.c	(revision 60321)
@@ -1164,6 +1164,9 @@ sock_s_getservbyport(int argc, VALUE *ar https://github.com/ruby/ruby/blob/trunk/ext/socket/socket.c#L1164
  *
  * 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.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]