summaryrefslogtreecommitdiff
path: root/ext/socket/basicsocket.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-05 11:01:43 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-05 11:01:43 +0000
commit88f04bdd32fcbb2333f6b034e98f7f398e97604c (patch)
tree8dcdb94addac56011a8472c5ec63210cf5481771 /ext/socket/basicsocket.c
parentb3e665760e06b90102a8a9594bfbdbe73234f213 (diff)
* ext/socket: AddrInfo is renamed to Addrinfo. [ruby-dev:37876]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/basicsocket.c')
-rw-r--r--ext/socket/basicsocket.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/socket/basicsocket.c b/ext/socket/basicsocket.c
index a5c310a..da8ab10 100644
--- a/ext/socket/basicsocket.c
+++ b/ext/socket/basicsocket.c
@@ -359,12 +359,12 @@ bsock_getpeername(VALUE sock)
* call-seq:
* bsock.local_address => addrinfo
*
- * Returns an AddrInfo object for local address obtained by getsockname.
+ * Returns an Addrinfo object for local address obtained by getsockname.
*
* Note that addrinfo.protocol is filled by 0.
*
* TCPServer.open("127.0.0.1", 1512) {|serv|
- * p serv.local_address #=> #<AddrInfo: 127.0.0.1:1512 TCP>
+ * p serv.local_address #=> #<Addrinfo: 127.0.0.1:1512 TCP>
* }
*
*/
@@ -385,14 +385,14 @@ bsock_local_address(VALUE sock)
* call-seq:
* bsock.remote_address => addrinfo
*
- * Returns an AddrInfo object for remote address obtained by getpeername.
+ * Returns an Addrinfo object for remote address obtained by getpeername.
*
* Note that addrinfo.protocol is filled by 0.
*
* TCPServer.open("127.0.0.1", 1728) {|serv|
* c = TCPSocket.new("127.0.0.1", 1728)
* s = serv.accept
- * p s.remote_address #=> #<AddrInfo: 127.0.0.1:36504 TCP>
+ * p s.remote_address #=> #<Addrinfo: 127.0.0.1:36504 TCP>
* }
*
*/