diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-02-15 21:13:23 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-02-15 21:13:23 +0000 |
commit | fb7598d25adee57f33549db97bb5de023f40a234 (patch) | |
tree | d8047ca0ee52a334868c3edf6858c4172acfb268 /doc/basicopt.txt | |
parent | de8d47330152d3d973c6ff52b89c9d79b42d590c (diff) | |
download | Nim-fb7598d25adee57f33549db97bb5de023f40a234.tar.gz |
Async readLine now works. Fixes recv issues.
When using MSG_PEEK and data is retrieved ``lpNumberOfBytesRecvd`` will not be set to the number of bytes read by WSARecv. The buffer must therefore be checked to ensure it's empty when determining whether ``recv`` shall return "" to signal disconnection as we want to read as much data as has been received by the system.
Diffstat (limited to 'doc/basicopt.txt')
0 files changed, 0 insertions, 0 deletions