Defined in file: hzIpServer.h
The hzProcInfo or 'process data' class is used to pass process information in cases where client connections are handled in a separate thread. The thread handler function must nessesarily have a single void* argument. In order to supply the client IP address, client socket, and any SSL structure to the thread function, this info is wrapped in a hzProcInfo instance and a pointer to this is passed instead.
Constructors/Detructors
| hzProcInfo* | hzProcInfo | (void) | |
| hzProcInfo* | hzProcInfo | (SSL* pSSL)uint32_t nSock, hzIpaddr ipa, | |
| void | ~hzProcInfo | (void) |
Public Methods:
| hzIpaddr& | Ipaddr | (void) | |
| void | SetParams | (SSL* pSSL)uint32_t nSock, hzIpaddr ipa, | |
| uint32_t | Socket | (void) |
Member Variables:
| hzIpaddr | m_Ipa | IP address | |
| uint32_t | m_Socket | The client socket | |
| SSL* | m_pSSL | SSL session info (if applicable) |