stdlib: documenation updates, the exception names have been changed
This commit is contained in:
parent
f5a2c6e19d
commit
223e92b83a
15 changed files with 80 additions and 80 deletions
|
|
@ -599,7 +599,7 @@ proc listen*(socket: AsyncSocket, backlog = SOMAXCONN) {.tags: [ReadIOEffect].}
|
|||
## ``Backlog`` specifies the maximum length of the
|
||||
## queue of pending connections.
|
||||
##
|
||||
## Raises an EOS error upon failure.
|
||||
## Raises an OSError error upon failure.
|
||||
if listen(socket.fd, backlog) < 0'i32: raiseOSError(osLastError())
|
||||
|
||||
proc bindAddr*(socket: AsyncSocket, port = Port(0), address = "") {.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue