ConnexReadIP
Syntax | ||
int ConnexReadIP(int fildes,unsigned char **buffer); | ||
Header | ||
base/connex.h | ||
Library | ||
cnx | ||
Description | ||
The The file descriptor of the socket is given by the argument fildes. Memory is allocated to store the decoded data and the pointer to the buffer is stored at the location pointed to by the argument buffer. The memory allocated for the data should be freed when it is no longer required. | ||
Returns | ||
Returns the size of the decoded data on success. On error, (-1) is returned. | ||
Errors | ||
On error, (-1) is returned. | ||
Example | ||
|