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
commit f221c192b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)