use recv instead of recvfrom
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
898a1e7197
commit
6776688a2d
@ -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>
|
Wed May 5 00:38:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
|
||||||
|
|
||||||
* lib/gserver.rb: documented
|
* lib/gserver.rb: documented
|
||||||
|
@ -21,7 +21,7 @@ module Rinda
|
|||||||
def write_service
|
def write_service
|
||||||
Thread.new do
|
Thread.new do
|
||||||
loop do
|
loop do
|
||||||
msg, addr = @soc.recvfrom(1024)
|
msg = @soc.recv(1024)
|
||||||
do_write(msg)
|
do_write(msg)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user