The CCookie::getPorts function retrieves all ports in the portlist of the cookie.
int ** portList // containing all ports in the portlist
Upon successful completion, an integer which indicates the number of the ports in the portlist is returned. Otherwise, a negative value is returned.
An integer array which contains all ports in the portlist.
This function retrieves all ports in the portlist of the cookie. This portlist contains the ports to which a cookie may be returned in a Cookie request header.
The CCookie::addPort function can be used to add a new port into the portlist of the cookie.
CCookie, CCookie::addPort, CResponse::addCookie, CRequest::getCookies, CRequest::getCookie