nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/mnit: use PRINT_ERROR instead of printf on portable code
[nit.git]
/
lib
/
socket
/
socket.nit
diff --git
a/lib/socket/socket.nit
b/lib/socket/socket.nit
index
42c7e00
..
681e239
100644
(file)
--- a/
lib/socket/socket.nit
+++ b/
lib/socket/socket.nit
@@
-204,7
+204,7
@@
class TCPServer
closed = true
return
end
- addrin = new NativeSocketAddrIn.with(port, new NativeSocketAddressFamilies.af_inet)
+ addrin = new NativeSocketAddrIn.with_port(port, new NativeSocketAddressFamilies.af_inet)
address = addrin.address
# Bind it