summary refs log tree commit diff stats
path: root/tinyc/examples
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2014-02-15 21:13:23 +0000
committerDominik Picheta <dominikpicheta@googlemail.com>2014-02-15 21:13:23 +0000
commitfb7598d25adee57f33549db97bb5de023f40a234 (patch)
treed8047ca0ee52a334868c3edf6858c4172acfb268 /tinyc/examples
parentde8d47330152d3d973c6ff52b89c9d79b42d590c (diff)
downloadNim-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 'tinyc/examples')
0 files changed, 0 insertions, 0 deletions
>114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168