summaryrefslogtreecommitdiff
path: root/sample/svr.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/svr.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/svr.rb')
-rw-r--r--sample/svr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/svr.rb b/sample/svr.rb
index 11cfc5fbfe5..f4f29eb8e79 100644
--- a/sample/svr.rb
+++ b/sample/svr.rb
@@ -6,7 +6,7 @@
require "socket"
-gs = TCPserver.open(0)
+gs = TCPServer.open(0)
addr = gs.addr
addr.shift
printf("server is on %s\n", addr.join(":"))