cp_client_read(3) - Linux man page
Name
cp_client_read, cp_client_read_string - read from a tcp connection
Synopsis
#include <cprops/client.h>
int cp_client_read(cp_client *client, char *buf, int len);
int cp_client_read_string(cp_client *client, cp_string *str, int len);
Description
cp_client_read reads up to len bytes from the connection associated with cp_client
client into the buffer buf. cp_client_read_string reads up to len bytes into the cp_string str.
Return Value
0 on end of file, -1 on error or the number of bytes successfully read.
See Also
cp_client_write(3)
Referenced By
cp_client(3)