cp_socket

Section: cp_client (3)
Updated: MARCH 2006
Index Return to Main Contents
 

NAME

cp_client_write, cp_client_write_string - write from a tcp connection  

SYNOPSIS

#include <cprops/client.h>

int cp_client_write(cp_client *client, char *buf, int len);

int cp_client_write_string(cp_client *client, cp_string *str);  

DESCRIPTION

cp_client_write attempts to write len bytes to the connection associated with the cp_client client from the buffer buf. cp_client_write_string attempts to write the cp_string str to the client.  

RETURN VALUE

the number of bytes successfully written on success or -1 on error.  

SEE ALSO

cp_client_read(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 14:33:55 GMT, March 14, 2006
SourceForge.net Logo