diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-01-07 13:59:29 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-01-07 13:59:29 +0100 |
commit | 3af73682e5382d89055f25ac567337e6958d7c70 (patch) | |
tree | dba71af6b0936c13f384e9cab689633a6659f824 /lib/pure/net.nim | |
parent | e316665b7b25b3e45a66766260bfa645c92beb97 (diff) | |
parent | e23ea64c41e101d4e1d933f0b015f51cc6c2f7de (diff) | |
download | Nim-3af73682e5382d89055f25ac567337e6958d7c70.tar.gz |
Merge branch 'devel' into nimv2
Diffstat (limited to 'lib/pure/net.nim')
-rw-r--r-- | lib/pure/net.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/net.nim b/lib/pure/net.nim index 15f2c1228..aad6ab3e8 100644 --- a/lib/pure/net.nim +++ b/lib/pure/net.nim @@ -1135,11 +1135,11 @@ proc recv*(socket: Socket, data: var string, size: int, timeout = -1, ## ## When 0 is returned the socket's connection has been closed. ## - ## This function will throw an EOS exception when an error occurs. A value + ## This function will throw an OSError exception when an error occurs. A value ## lower than 0 is never returned. ## ## A timeout may be specified in milliseconds, if enough data is not received - ## within the time specified an ETimeout exception will be raised. + ## within the time specified an TimeoutError exception will be raised. ## ## **Note**: ``data`` must be initialised. ## |