dmz_recv_msg

The dmz_recv_msg takes a pointer to memory where to receive and the maximum number of bytes to

receive from a specific machine.

int dmz_recv_msg (

void* mesg,

int size,

int connect_id

);

 

Return Values

Number of bytes actually received, 0 if no data is available, a negative number on error.

 

Parameters

mesg

the address where the data is stored.

 size

        number of bytes of data received

 

connect_id

        connection id of the machine to connect to from dmz_connect

 

Remarks

The return value (size) can be used to determine whether a message was received properly

 

QuickInfo

Windows: Requires Winsock 1.1 or 2.0 (winsock.dll)


Last updated November 02, 2000 23:32 by Nancy