cp_socket *cp_connection_descriptor_get_socket(
cp_connection_descriptor descriptor);
struct sockaddr_in *cp_connection_descriptor_get_addr(
cp_connection_descriptor descriptor);
int cp_connection_descriptor_get_fd(
cp_connection_descriptor descriptor);
cp_connection_descriptor_get_socket returns a pointer to the originating cp_socket;
cp_connection_descriptor_get_addr returns a pointer to a struct sockaddr_in describing the address the connection was made from; and
cp_connection_descriptor_get_fd returns to file descriptor number for this connection.
This document was created by
man2html,
using the manual pages. Time: 20:30:45 GMT, January 02, 2006 |