cp_socket

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

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)


 

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