wwsocket::WaitForSize
Reads a socket until the specified number of bytes are received.
o.WaitForSize(lnBytes)
string or ""
Parameters
lnBytes
The number of bytes to read from the server.
Remarks
If a timeout or error occurs, or the socket returns no data on a single read this routine aborts and returns. Note that the error flag is set, but this may not necessarily be an error if you're purposefully overreading the buffer.
See also
Class wwsocket© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic