cp_client_close(3) - Linux man page

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)

Referenced By

cp_client(3)