diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-01-07 12:20:00 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-01-07 12:20:00 +0100 |
commit | 08af53032b731fb999cb24c198c8723977316938 (patch) | |
tree | db8f3d9136db46b78f6b45827379e053af606fdc | |
parent | 67ac1aef594a328997fc9d3f6b36a73fc583f2ba (diff) | |
download | Nim-08af53032b731fb999cb24c198c8723977316938.tar.gz |
net.nim: minor documentation update
-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. ## |