#include <Chttpget.h>
Public Methods | |
| ChttpGet (char *URL, char *localfile) | |
| ChttpGet (char *URL, char *localfile, char *proxyip, unsigned short proxyport) | |
| ~ChttpGet () | |
| void | GetFile (char *URL, char *localfile) |
| int | GetStatus () |
| unsigned int | GetBytesIn () |
| unsigned int | GetTotalBytes () |
| void | AbortGet () |
| void | WorkerThread () |
Public Attributes | |
| bool | m_Aborted |
Protected Methods | |
| int | ConnectSocket () |
| char * | GetHTTPLine () |
| unsigned int | ReadDataChannel () |
Protected Attributes | |
| unsigned int | m_iBytesIn |
| unsigned int | m_iBytesTotal |
| unsigned int | m_State |
| bool | m_ProxyEnabled |
| char * | m_ProxyIP |
| char | m_URL [MAX_URL_LEN] |
| unsigned short | m_ProxyPort |
| char | m_szUserName [100] |
| char | m_szPassword [100] |
| char | m_szHost [200] |
| char | m_szDir [200] |
| char | m_szFilename [100] |
| bool | m_Aborting |
| SOCKET | m_DataSock |
| FILE * | LOCALFILE |
| char | recv_buffer [1000] |
|
||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16