[#13273] Ruby anywhere — "NAKAMURA, Hiroshi" <nakahiro@...>

なひです.rubyistモード.

262 messages 1999/04/01
[#13305] Re: Ruby anywhere — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/04/05

なひです.

[#13308] Re: Ruby anywhere — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/04/05

なひです.まったく何書いてんだか... > 自分 ^^;

[#13309] Re: Ruby anywhere — 中村暁史 <anakamur@...> 1999/04/05

[#13310] iterator for Dummies( was Re: Ruby anywhere ) — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/04/05

なひです.もちろん「Dummy」なのは私です.^^;

[#13313] Re: iterator for Dummies( was Re: Ruby anywhere ) — Shugo Maeda <shugo@...> 1999/04/05

前田です。

[#13314] Re: iterator for Dummies( was Re: Ruby anywhere ) — hisanori@... 1999/04/06

松尾です。

[#13317] Re: iterator for Dummies( was Re: Ruby anywhere ) — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/04/06

なひです.

[#13330] Re: iterator for Dummies( was Re: Ruby anywhere ) — Wakou Aoyama <wakou@...> 1999/04/06

青山です。

[#13363] Re: iterator for Dummies( was Re: Ruby anywhere ) — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/04/06

なひです.

[#13367] Re: iterator for Dummies( was Re: Ruby anywhere ) — Wakou Aoyama <wakou@...> 1999/04/06

青山です。

[#13312] Re: Ruby anywhere — Inaba Hiroto <inaba@...> 1999/04/05

稲葉です。

[#13371] Re: Ruby and LISP ( was Re: Ruby anywhere ) — takagi@... (TAKAGI, Hiromitsu) 1999/04/06

> > > 「call-by-referenceで」もちょっと言葉が違うような。

[#13377] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Shin-ichiro Hara <sinara@...> 1999/04/07

原です。

[#13378] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Shugo Maeda <shugo@...> 1999/04/07

前田です。

[#13380] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Shin-ichiro Hara <sinara@...> 1999/04/07

原です。

[#13390] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Wakou Aoyama <wakou@...> 1999/04/07

青山です。

[#13398] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Shin-ichiro Hara <sinara@...> 1999/04/07

原です。

[#13399] constant/immutable(Re: Ruby and LISP) — Shugo Maeda <shugo@...> 1999/04/07

前田です。

[#13400] Re: constant/immutable(Re: Ruby and LISP) — 中村暁史 <anakamur@...> 1999/04/07

[#13474] Re: Ruby and LISP ( was Re: Ruby anywhere ) — takagi@... (TAKAGI, Hiromitsu) 1999/04/08

Shugo Maeda <shugo@netlab.co.jp> writes:

[#13490] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Shugo Maeda <shugo@...> 1999/04/08

前田です。

[#13496] What is Object in Ruby? (Re: Ruby and LISP) — Shin-ichiro Hara <sinara@...> 1999/04/08

原です。

[#13800] Re: What is Object in Ruby? (Re: Ruby and LISP) — Shin-ichiro Hara <sinara@...> 1999/04/16

原です。

[#13805] Re: What is Object in Ruby? (Re: Ruby and LISP) — gotoken@... (GOTO Kentaro) 1999/04/16

ごとけんです

[#13808] Re: What is Object in Ruby? (Re: Ruby and LISP) — Shin-ichiro Hara <sinara@...> 1999/04/16

原です。

[#13816] Re: What is Object in Ruby? (Re: Ruby and LISP) — Wakou Aoyama <wakou@...> 1999/04/16

青山です。

[#13824] Re: What is Object in Ruby? (Re: Ruby and LISP) — Shin-ichiro Hara <sinara@...> 1999/04/16

原です。

[#13830] Re: What is Object in Ruby? (Re: Ruby and LISP) — Wakou Aoyama <wakou@...> 1999/04/16

青山です。

[#13839] Re: What is Object in Ruby? (Re: Ruby and LISP) — Wakou Aoyama <wakou@...> 1999/04/17

青山です。

[#13842] Re: What is Object in Ruby? (Re: Ruby and LISP) — Shin-ichiro Hara <sinara@...> 1999/04/17

原です。

[#13856] Re: What is Object in Ruby? (Re: Ruby and LISP) — gotoken@... (GOTO Kentaro) 1999/04/18

ごとけんです

[#13872] Re: What is Object in Ruby? (Re: Ruby and LISP) — Shin-ichiro Hara <sinara@...> 1999/04/19

原です。

[#13880] Re: What is Object in Ruby? (Re: Ruby and LISP) — gotoken@... (GOTO Kentaro) 1999/04/19

ごとけんです

[#13883] destructive methods (Re: Re: What is Object in Ruby?) — matz@... (Yukihiro Matsumoto) 1999/04/19

[#13621] Integer[num] (Re: Ruby and LISP) — gotoken@... (GOTO Kentaro) 1999/04/12

ごとけんです

[#13622] Re: Integer[num] (Re: Ruby and LISP) — Shugo Maeda <shugo@...> 1999/04/12

前田です。

[#13624] Re: Integer[num] (Re: Ruby and LISP) — gotoken@... (GOTO Kentaro) 1999/04/12

ごとけんです

[#13630] Re: Integer[num] (Re: Ruby and LISP) — Shugo Maeda <shugo@...> 1999/04/12

前田です。

[#13675] Re: Integer[num] (Re: Ruby and LISP) — gotoken@... (GOTO Kentaro) 1999/04/13

ごとけんです

[#13677] Re: Integer[num] (Re: Ruby and LISP) — 中村暁史 <anakamur@...> 1999/04/13

[#13690] Flyweight (Re: Integer[num]) — gotoken@... (GOTO Kentaro) 1999/04/13

ごとけんです

[#23715] Re: Flyweight (Re: Integer[num]) — Masatoshi SEKI <m_seki@...> 2000/07/05

[#23718] context switch during finalizer(Re: Re: Flyweight) — matz@... (Yukihiro Matsumoto) 2000/07/06

まつもと ゆきひろです

[#23727] Re: context switch during finalizer(Re: Re: Flyweight) — Masatoshi SEKI <m_seki@...> 2000/07/06

[#13516] Re: Ruby and LISP ( was Re: Ruby anywhere ) — takagi@... (TAKAGI, Hiromitsu) 1999/04/08

Shugo Maeda <shugo@netlab.co.jp> writes:

[#13526] Re: Ruby and LISP ( was Re: Ruby anywhere ) — Shugo Maeda <shugo@...> 1999/04/09

前田です。

[#13568] Re: Ruby and LISP ( was Re: Ruby anywhere ) — takagi@... (TAKAGI, Hiromitsu) 1999/04/09

Shugo Maeda <shugo@netlab.co.jp> writes:

[#13383] — Inaba Hiroto <inaba@...>

稲葉です.

18 messages 1999/04/07
[#13422] Re: — kjana@... (YANAGAWA Kazuhisa) 1999/04/07

In message <9904070229.AA11857@tux0017.sdd.tokyo-sc.toshiba.co.jp>

[#13435] What is `binding' (was Re: Ruby and LISP) — Inaba Hiroto <inaba@...> 1999/04/08

稲葉です。これも出しなおしです.

[#13502] Re: Ruby and LISP ( was Re: Ruby anywhere ) — "豊福" <toyofuku@...>

豊福@パパイヤです。

16 messages 1999/04/08

[#13644] bbs — kikutani@...

rubyで書かれたWebの掲示板てありましたっけ?

31 messages 1999/04/12
[#13656] Re: bbs — TADA Tadashi <sho@...> 1999/04/13

初めて投稿します。多田@S.P.C.です。

[#13657] Re: bbs — kikutani@... 1999/04/13

On Tue, 13 Apr 1999 11:16:47 +0900,

[#13663] Re: bbs — hisanori@... 1999/04/13

松尾です。

[#13867] Re: What is Object in Ruby? (Re: Ruby and LISP) — toyofuku@...

豊福@パパイヤです。

15 messages 1999/04/19
[#13876] Re: What is Object in Ruby? (Re: Ruby and LISP) — Wakou Aoyama <wakou@...> 1999/04/19

青山です。

[#13903] timer — hisanori@...

松尾です。

24 messages 1999/04/20
[#13905] Re: timer — matz@... (Yukihiro Matsumoto) 1999/04/20

まつもと ゆきひろです

[#13910] Re: timer — hisanori@... 1999/04/20

松尾です.

[#13911] Thread GC (Re: Re: timer) — matz@... (Yukihiro Matsumoto) 1999/04/20

まつもと ゆきひろです

[#13920] Re: Thread GC (Re: Re: timer) — hisanori@... 1999/04/20

松尾です.

[#13924] Re: Thread GC (Re: Re: timer) — matz@... (Yukihiro Matsumoto) 1999/04/20

まつもと ゆきひろです

[#14037] TMail について — 民斗 <tommy@...>

民斗です。

38 messages 1999/04/24
[#14082] Re: TMail について — Minero Aoki <aamine@...> 1999/04/27

あおきです。報告ありがとうございます。

[#14088] Re: TMail について — 民斗 <tommy@...> 1999/04/28

民斗です。

[#14090] Re: TMail について — WATANABE Hirofumi <watanabe@...> 1999/04/28

わたなべです.

[#14092] Re: TMail について — Minero Aoki <aamine@...> 1999/04/28

あおきです。

[#14095] Re: TMail について — WATANABE Hirofumi <eban@...> 1999/04/29

わたなべです.

[#14096] Re: TMail について — kikutani@... 1999/04/30

In ruby-list, you wrote:

[#14099] Re: TMail について — matz@... (Yukihiro Matsumoto) 1999/04/30

まつもと ゆきひろです

[ruby-list:13712] IPv6-ready ruby (Forward: [ruby-talk:00274])

From: gotoken@... (GOTO Kentaro)
Date: 1999-04-14 03:01:24 UTC
List: ruby-list #13712
ごとけんです

ruby-talk に流れてきたのですが、広く知られた方がよいと思うので
こちらに転載します。

# 僕の手元には IPv6 環境がない(^^;;

X-cmail-status: Active
Received: from hoyogw.netlab.co.jp (daemon@hoyogw.netlab.co.jp [202.218.249.220])
	by math.sci.hokudai.ac.jp (8.8.8/3.6W01/06/98) with ESMTP id DAA03089
	for <gotoken@math.sci.hokudai.ac.jp>; Wed, 14 Apr 1999 03:45:05 +0900 (JST)
Received: from hoyogw.netlab.co.jp (matz@localhost [127.0.0.1])
	by hoyogw.netlab.co.jp (8.9.2+3.1W/3.7W/1.3) with SMTP id DAA29567;
	Wed, 14 Apr 1999 03:44:44 +0900 (JST)
Date: Wed, 14 Apr 1999 03:39:11 +0900
From: Jun-ichiro itojun Hagino <itojun@itojun.org>
Reply-To: ruby-talk@netlab.co.jp
Subject: [ruby-talk:00274] IPv6-ready ruby 
Sender: itojun@itojun.org
To: ruby-talk@netlab.co.jp (ruby-talk ML)
Message-Id: <24965.924028751@cardamom.itojun.org>
X-ML-Name: ruby-talk
X-Mail-Count: 00274
X-MLServer: fml [fml 2.2]; post only (only members can post)
X-ML-Info: If you have a question, send a mail with the body
	"# help" (without quotes) to the address ruby-talk-ctl@netlab.co.jp;
	help=<mailto:ruby-talk-ctl@netlab.co.jp?body=help>
X-Mailer: comp (MHng project) version 1998/02/23 14:27:23, by Jun-ichiro Itoh
X-Template-Reply-To: itojun@itojun.org
X-Template-Return-Receipt-To: itojun@itojun.org
X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD  90 5F B4 60 79 54 16 E2
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Precedence: bulk
Lines: 131
X-UIDL: 94499edb227330e19cb281d5b34c235f
Status: U

	We KAME team (www.kame.net) are working on IPv6-ready ruby.
	This is currently based on ruby 1.2.5 (stable branch).
	Snapshots are available at ftp://ftp.kame.net/pub/kame/misc/.
	The patch mainly modifies Socket and its child classes, configure
	script and ftplib.rb.

	I would like to have you comments on Socket class API issues.  I have
	been trying to make it backward-compatible for existing applications,
	but I may have broke somewhere.
	We hope to supply patch to 1.3.x and hoping that to be merged into
	1.3.x code tree. (IPv6 support in ruby base system would be cool...).

itojun@kame.net


--- current README.v6
IPv6-ready ruby 1.2.x
KAME Project
$Id: README.v6,v 1.10 1999/04/13 18:30:16 itojun Exp $

This patchkit enables ruby 1.2.x to perform AF_INET6 socket operations.
The only affected module is ext/socket/socket.c.

ext/socket/socket.c
	Basically you can write IPv6 address where IPv4 address fits.
	The code relies upon getaddrinfo().

    UDPsocket
	UDPsocket.open() and UDPsocket.new() takes optional argument,
	address family, like:
	    u = UDPsocket.open(Socket.AF_INET6)
	UDPsocket.open() will create a socket by socket(2) system call.

	Future UDPsocket operations will perform getaddrinfo(3) to obtain
	the address, then try all the addresses returned until successful
	result comes from the kernel.  For example,
	    u = UDPsocket.open(Socket.AF_INET6)
	    u.sendto("foo", 0, "localhost", "echo")
	will perform udp packet output toward ::1 (if getaddrinfo(3) returns
	127.0.0.1 and ::1, UDPsocket.sendto() will loop through the addresses).

    TCPserver
	TCPserver module treats integer values (0, or 0x0a000001) as
	IPv4 address.  Also, if host part is omitted, it will be treated
	as 0.  Therefore, the following statement will listen to IPv4 TCP
	socket (the three statements have the same effect):
	    t = TCPserver.open($port)			# omit host part
	    t = TCPserver.open(0, $port)		# is equal to 0
	    t = TCPserver.open("0.0.0.0", $port)	# is equal to 0.0.0.0
	If you would like to explicitly listen to IPv6 socket, try:
	    t = TCPserver.open("::", $port)		# force IPv6

	The behavior should be fixed soon.  IMHO, when address is not specified
	TCPserver should listen to all the addresses returned by getaddrinfo(3).

    Socket.getaddrinfo(host, port, family, socktype, protocol, flags)
	Perform getaddrinfo(3).  host and port are mandatory, the rest (family
	to flags) are optional.
	    host: nil (NULL), String (as hostname)
	    port: nil (NULL), Integer (as port number), String (as port name)
	    family: nil or Integer (passed as hints.ai_family)
	    socktype: nil or Integer (passed as hints.ai_socktype)
	    protocol: nil or Integer (passed as hints.ai_protocol)
	    flags: nil or Integer (passed as hints.ai_flags)
	The value returned is array of the following array:
	    elem[0]: address family as string, like "AF_INET6"
	    elem[1]: port number (numeric)
	    elem[2]: numeric hostname
	    elem[3]: numeric hostname, or canonical hostname if exist
	    elem[4]: numeric res->ai_family
	    elem[5]: numeric res->ai_socktype
	    elem[6]: numeric res->ai_protocol
	Format of elem[0 .. 3] is the same as the return value of
	IPsocket.addr().

	Examples:
	    # for wildcard sockaddrs for listening socket
	    x = Socket.getaddrinfo(nil, 80, nil, nil, nil, Socket::AI_PASSIVE)

	    # for specific sockaddrs for outgoing socket
	    y = Socket.getaddrinfo("www.yahoo.com", 80, nil,
		    Socket::SOCK_STREAM)

	    # no port information, just getting addresses
	    z = Socket.getaddrinfo("localhost", nil)

    constants
	The following symbols are defined, and can be accessed as
	Socket::AF_INET6 or likewise: AF_INET6, PF_INET6, PF_UNSPEC,
	AI_xxx, NI_xxx (see RFC2553)


lib/ftplib.rb
	Supports ftp over IPv6, both in passive and active mode.  Based on
	RFC2428 EPSV/EPRT.

configure
	Configure has extra option, --enable-ipv6 and --disable-ipv6.
	The option controls IPv6 support feature.

restrictions
	- On KAME IPv6 protocol stack, ext/socket/socket.c cannot be
	  dynamically loaded, due to external reference to static link
	  library (libinet6.a).  This should be fixed soon.
	- The patched tree will compile only on UNIX variants.
	  Most of BeOS/Windows compatibility code is removed from
	  ext/socket/socet.c.

todo
	- Supply Socket.getaddrinfo() and Socket.getaddrinfo().
	- Clarify behavior of wildcard bind.

If you use IPv6 features, it is assumed that you have working(*)
getaddrinfo() and getnameinfo() library functions.  If you compile this
on IPv4-only machine, missing/getaddrinfo.c is used as last-resort version
(which support IPv4 only) of getaddrinfo().
For more complete implementation you might want to check BIND 8.2.
(*) NOTE: we have noticed that some of IPv6 stack is shipped with broken
getaddrinfo().  In such cases, you should get working library.  Contact the
vendor for details.

When compiling this kit onto IPv6, you may need to specify some additional
library paths or cpp defs. (like -linet6 or -DINET6)
--enable-ipv6 will give you some warning, if the IPv6 stack is unknown
to the "configure" script.  Currently, the following IPv6 stacks
are supported:
- KAME IPv6 stack, http://www.kame.net/

Author contacts
	http://www.kame.net/
	mailto:core@kame.net

In This Thread

Prev Next