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

ruby-changes:14867

From: akr <ko1@a...>
Date: Tue, 23 Feb 2010 20:44:39 +0900 (JST)
Subject: [ruby-changes:14867] Ruby:r26734 (trunk): rdoc update.

akr	2010-02-23 20:41:55 +0900 (Tue, 23 Feb 2010)

  New Revision: 26734

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26734

  Log:
    rdoc update.

  Modified files:
    trunk/ext/socket/basicsocket.c

Index: ext/socket/basicsocket.c
===================================================================
--- ext/socket/basicsocket.c	(revision 26733)
+++ ext/socket/basicsocket.c	(revision 26734)
@@ -198,7 +198,7 @@
  *   };
  * 
  * In this case #setsockopt could be called like this:
- *   optval =  IPAddr.new("224.0.0.251") + Socket::INADDR_ANY
+ *   optval =  IPAddr.new("224.0.0.251").hton + IPAddr.new(Socket::INADDR_ANY, Socket::AF_INET).hton
  *   sock.setsockopt(Socket::IPPROTO_IP, Socket::IP_ADD_MEMBERSHIP, optval)
  *
 */

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

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