cp_client_close(3)
| cp_socket(3) | cp_client | cp_socket(3) |
NAME
cp_client_close - close a tcp connection
SYNOPSIS
#include <cprops/client.h>
int cp_client_close(cp_client *client);
DESCRIPTION
cp_client_close closes an open tcp connection associated with the cp_client client.
RETURN VALUE
0 on successful operation, -1 on failure. cp_client_close may fail if the connection is not open. Errors on close may also indicate a failure on a previous write operation.
SEE ALSO
cp_client_connect(3), cp_client_ssl_connect(3)
| MARCH 2006 | libcprops |
