zStatus zSocket_Read(zSocket socket, void* buffer, zUIntPtr size, zUIntPtr* read);
|
Parameters |
Description |
|
zSocket socket |
zSocket object. |
|
void* buffer |
Buffer to receive bytes. |
|
zUIntPtr size |
The maximum number of bytes to read. |
|
zUIntPtr* read |
The number of bytes that were read. |
Blocks until at least one byte is available for reading (or until a read timeout occurs), and returns the bytes that were read.
zSocket.h