diff options
Diffstat (limited to 'sample/dualstack-httpd.rb')
-rw-r--r-- | sample/dualstack-httpd.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/dualstack-httpd.rb b/sample/dualstack-httpd.rb index 69e3181863..11c5201d74 100644 --- a/sample/dualstack-httpd.rb +++ b/sample/dualstack-httpd.rb @@ -12,7 +12,7 @@ names = [] threads = [] res.each do |i| - s = TCPserver.new(i[3], i[1]) + s = TCPServer.new(i[3], i[1]) n = Socket.getnameinfo(s.getsockname, Socket::NI_NUMERICHOST|Socket::NI_NUMERICSERV).join(" port ") sockpool.push s names.push n |