From f221c192b3779a50b51d7ba22431e0d06ab0edc1 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Tue, 7 Nov 2017 17:23:53 +0000 Subject: [PATCH] Fix creating server example in net module --- lib/pure/net.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)