Return the port (default is 80) that the URL states (if any) Arguments: None
| Return Type | Function name | Arguments |
|---|---|---|
| uint32_t | hzUrl::Port | (void) |
Declared in file: hzUrl.h
Defined in file : hzUrl.cpp
Function Logic:
Function body:
uint32_t hzUrl::Port (void)
{
// Return the port (default is 80) that the URL states (if any)
//
// Arguments: None
//
// Returns: Number being any port number specified in the URL
_url_space* thisCtl ; // This URL space
if (!m_addr)
return 0;
thisCtl = _urlXlate(m_addr) ;
return thisCtl->m_port ;
}