nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gamnit: tweak network doc
[nit.git]
/
lib
/
gamnit
/
network
/
server.nit
diff --git
a/lib/gamnit/network/server.nit
b/lib/gamnit/network/server.nit
index
926e620
..
9e2e1f3
100644
(file)
--- a/
lib/gamnit/network/server.nit
+++ b/
lib/gamnit/network/server.nit
@@
-39,7
+39,7
@@
#
# # `accept_clients` in non-blocking,
# # sleep before tying again, or do something else.
#
# # `accept_clients` in non-blocking,
# # sleep before tying again, or do something else.
-# nanosleep(0, 50000000)
+# 0.5.sleep
# printn "."
# end
# ~~~
# printn "."
# end
# ~~~
@@
-168,7
+168,7
@@
class RemoteClient
# Check for compatibility with the client
fun handshake: Bool
do
# Check for compatibility with the client
fun handshake: Bool
do
- print "Server: Handshake requested by {socket.address}"
+ print "Server: Handshake initiated by {socket.address}"
# Make sure it is the same app
var server_app = sys.handshake_app_name
# Make sure it is the same app
var server_app = sys.handshake_app_name