summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-04 18:53:26 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-04 18:53:26 +0000
commit6776688a2d08cf129a331f4ca6750279a4cba8b0 (patch)
tree5b26879a1fafe335cb70991cd25fa2f9c08a268b
parent898a1e71970ea6858c9eed7efe9f0223d92d6b90 (diff)
use recv instead of recvfrom
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--lib/rinda/ring.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b09569b..145c08d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed May 5 03:52:31 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
+
+ * lib/rinda/ring.rb: use recv instead of recvfrom.
+
Wed May 5 00:38:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
* lib/gserver.rb: documented
diff --git a/lib/rinda/ring.rb b/lib/rinda/ring.rb
index 7152dfb..bc95203 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