nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated 'create_thread' function comments.
[nit.git]
/
examples
/
socket_client.nit
diff --git
a/examples/socket_client.nit
b/examples/socket_client.nit
index
d9ac5ff
..
0ba1913
100644
(file)
--- a/
examples/socket_client.nit
+++ b/
examples/socket_client.nit
@@
-24,7
+24,7
@@
if args.length < 2 then
return
end
-var s = new Socket.stream_with_host(args[0], args[1].to_i)
+var s = new Socket.client(args[0], args[1].to_i)
print "[HOST ADDRESS] : {s.address}"
print "[HOST] : {s.host}"
print "[PORT] : {s.port}"