⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pop.h

📁 visual c++ 实例编程
💻 H
字号:
#if !defined(AFX_POP_H__A44B38B6_697C_11D1_881E_00001C302581__INCLUDED_) 
#define AFX_POP_H__A44B38B6_697C_11D1_881E_00001C302581__INCLUDED_ 
#if _MSC_VER>1000
#pragma once
#endif 

#define CHECK_CONNECTION 0 
#define CHECK_USER 1 
#define CHECK_PASSWORD 2 
#define CHECK_STAT 3

#include <afxsock.h>
class CPOP:public CAsyncSocket
{ 
public: 
CWordArray m_SizeOfMsg; 
static UINT ThreadFunc(LPVOID);
BOOL Connect(); // Connecting to email server 
BOOL Connect(CString& Host, CString& User, CString& Password); 
//Operations
public:
CPOP(); 
virtual ~CPOP(); 

private: 
BOOL Check(int Checktype); 
CString m_Password; 
CString m_User; 
CString m_Host; 
CSocket m_Server;
//Overrides
public:
	//Class Wizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPOP)
	//}}AFX_VIRTUAL
	//Generated message map functions
	//{{AFX_MSG(POP)
	//TOTE - the Class Wizard will add and remove member functions here.
//}}AFX_MSG

	//Implementation
protected:
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_POP_H__EA2A221D_240D_4158_9845_65AC3E6EDB7B__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -