Zen API | Contents | Reference | Previous | Up | Next

zSocket_Read
zSocket functions
C

    zStatus zSocket_Read(zSocket socket, void* buffer, zUIntPtr size, zUIntPtr* read);

Parameters

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.

Description

Blocks until at least one byte is available for reading (or until a read timeout occurs), and returns the bytes that were read.

File

zSocket.h

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.
Contents | Reference