diff options
Diffstat (limited to 'sample/clnt.rb')
-rw-r--r-- | sample/clnt.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sample/clnt.rb b/sample/clnt.rb index 639e2a0daf..a687d12211 100644 --- a/sample/clnt.rb +++ b/sample/clnt.rb @@ -1,3 +1,5 @@ +# socket example - client side +# usage: ruby clnt.rb [host] port host=(if $ARGV.length == 2; $ARGV.shift; else "localhost"; end) print("Trying ", host, " ...") $stdout.flush |