summaryrefslogtreecommitdiff
path: root/sample/tsvr.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-03 09:26:26 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-03 09:26:26 +0000
commite2ea286ec9edd54f1edbe7190e354c77f7219284 (patch)
treee819cac9ded3e5c5c7992d44eb6cd8df986d2dd3 /sample/tsvr.rb
parent0f1c1ecbd89de6dfc4133c625c2ed234f50b19f5 (diff)
* sample/svr.rb: obsolete TCPserver renamed. [ruby-core:24712]
* sample/tsvr.rb: ditto. * sample/dualstack-httpd.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/tsvr.rb')
-rw-r--r--sample/tsvr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/tsvr.rb b/sample/tsvr.rb
index 52cdd32dce..2fa6c87ef9 100644
--- a/sample/tsvr.rb
+++ b/sample/tsvr.rb
@@ -3,7 +3,7 @@
require "socket"
-gs = TCPserver.open(0)
+gs = TCPServer.open(0)
addr = gs.addr
addr.shift
printf("server is on %s\n", addr.join(":"))