Returns the host name and port number associated with the session.
hc_session_get_host(hc_session_t *session, char **hostp,int *portp);
This function returns the host name and port number associated with the session.
IN: The session object.
OUT: Updated to point to host name (read-only string). hostp should not be modified by the application and will persist until the next call to hc_session_free.
OUT: Updated to be the port number.
HCERR_OK HCERR_BAD_REQUEST HCERR_OOM HCERR_NULL_SESSION HCERR_INVALID_SESSION