Fix creating server example in net module

This commit is contained in:
Dominik Picheta
2017-11-07 17:23:53 +00:00
committed by GitHub
parent 686a2aaefa
commit f221c192b3

View File

@@ -58,7 +58,7 @@
## You can then begin accepting connections using the ``accept`` procedure.
##
## .. code-block:: Nim
## var client = newSocket()
## var client = new Socket
## var address = ""
## while true:
## socket.acceptAddr(client, address)