Fix creating server example in net module
This commit is contained in:
parent
686a2aaefa
commit
f221c192b3
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue