cp_client is a 'client socket'. More...
#include <client.h>
Data Fields | |
| int | id |
| socket id | |
| struct sockaddr_in * | addr |
| address | |
| struct hostent * | hostspec |
| aliases | |
| char * | host |
| host literal | |
| char * | found_host |
| actual hostname | |
| int | port |
| the port this socket listens on | |
| struct timeval | timeout |
| max blocking time | |
| struct timeval | created |
| creation time | |
| unsigned long | bytes_read |
| bytes read | |
| unsigned long | bytes_sent |
| bytes written | |
| int | closing |
| shutdown flag | |
| int | retry |
| void * | owner |
cp_client is a 'client socket'.
create a cp_client with address information, call cp_client_connect() and communicate on the resulting file descriptor.
1.7.1