diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2017-11-07 17:23:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-07 17:23:53 +0000 |
commit | f221c192b3779a50b51d7ba22431e0d06ab0edc1 (patch) | |
tree | 45e6ec7f8eadf5acba22fd94ccaafd38ef5e0987 | |
parent | 686a2aaefacf2e72a6f114d6bb728b87624fba08 (diff) | |
download | Nim-f221c192b3779a50b51d7ba22431e0d06ab0edc1.tar.gz |
Fix creating server example in net module
-rw-r--r-- | lib/pure/net.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/net.nim b/lib/pure/net.nim index a405ce1bd..b8d05642b 100644 --- a/lib/pure/net.nim +++ b/lib/pure/net.nim @@ -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) |