diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-11 08:39:57 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-11 08:39:57 +0000 |
commit | 0be4d0aaee4f6a224696de524dedac90f9435b5f (patch) | |
tree | 1a1432cd9a9c9b86a074a04fe6b7af172dcba1fe /ChangeLog | |
parent | 20e571bde2d3821c2e3712c8734476f9800dd97d (diff) | |
download | ruby-0be4d0aaee4f6a224696de524dedac90f9435b5f.tar.gz ruby-0be4d0aaee4f6a224696de524dedac90f9435b5f.tar.xz ruby-0be4d0aaee4f6a224696de524dedac90f9435b5f.zip |
* ext/socket/lib/socket.rb (Socket.udp_server_sockets): call the block
if given. close the sockets when the block exits.
(Socket.udp_server_loop): use udp_server_sockets in block form.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Wed Feb 11 17:37:41 2009 Tanaka Akira <akr@fsij.org> + + * ext/socket/lib/socket.rb (Socket.udp_server_sockets): call the block + if given. close the sockets when the block exits. + (Socket.udp_server_loop): use udp_server_sockets in block form. + Wed Feb 11 17:34:16 2009 Tanaka Akira <akr@fsij.org> * ext/socket/lib/socket.rb (Socket.tcp_server_sockets): call the block |