From 6776688a2d08cf129a331f4ca6750279a4cba8b0 Mon Sep 17 00:00:00 2001 From: seki Date: Tue, 4 May 2004 18:53:26 +0000 Subject: [PATCH] use recv instead of recvfrom git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ lib/rinda/ring.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b09569b990..145c08dcc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed May 5 03:52:31 2004 Masatoshi SEKI + + * lib/rinda/ring.rb: use recv instead of recvfrom. + Wed May 5 00:38:00 2004 Gavin Sinclair * lib/gserver.rb: documented diff --git a/lib/rinda/ring.rb b/lib/rinda/ring.rb index 7152dfb72e..bc952032e9 100644 --- a/lib/rinda/ring.rb +++ b/lib/rinda/ring.rb @@ -21,7 +21,7 @@ module Rinda def write_service Thread.new do loop do - msg, addr = @soc.recvfrom(1024) + msg = @soc.recv(1024) do_write(msg) end end