summaryrefslogtreecommitdiff
path: root/sample/clnt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/clnt.rb')
-rw-r--r--sample/clnt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/clnt.rb b/sample/clnt.rb
index 7998379..4f96ca4 100644
--- a/sample/clnt.rb
+++ b/sample/clnt.rb
@@ -6,7 +6,7 @@ require "socket"
host=(if ARGV.length == 2; ARGV.shift; else "localhost"; end)
print("Trying ", host, " ...")
STDOUT.flush
-s = TCPsocket.open(host, ARGV.shift)
+s = TCPSocket.open(host, ARGV.shift)
print(" done\n")
print("addr: ", s.addr.join(":"), "\n")
print("peer: ", s.peeraddr.join(":"), "\n")