freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

計算機網(wǎng)絡(luò)課程設(shè)計報告-利用c實現(xiàn)smtp協(xié)議(編輯修改稿)

2024-12-04 22:59 本頁面
 

【文章內(nèi)容簡介】 6)。 char_array_4[3] = char_array_3[2] amp。 0x3f。 for (j = 0。 (j i + 1)。 j++) ret += base64_chars[char_array_4[j]]。 //這個字符串是 亂碼把 6 個字節(jié)放在 8 個字節(jié)的空間里 while((i++ 3)) ret += 39。=39。 } return ret。 } std::string Base64::base64_decode(std::string constamp。 decode_string) { return base64_decode((const unsigned char *)(), ())。 } // : implementation file // include include include include ifdef _DEBUG define new DEBUG_NEW undef THIS_FILE static char THIS_FILE[] = __FILE__。 endif CServerSocket::CServerSocket() { } CServerSocket::~CServerSocket() { } // Do not edit the following lines, which are needed by ClassWizard. if 0 BEGIN_MESSAGE_MAP(CServerSocket, CAsyncSocket) //{{AFX_MSG_MAP(CServerSocket) //}}AFX_MSG_MAP END_MESSAGE_MAP() endif // CServerSocket member functions void CServerSocket::SetParent(CDialog *pWnd) { m_pWnd = pWnd。 } void CServerSocket::OnReceive(int nErrorCode) { // TODO: Add your specialized code here and/or call the base class if (nErrorCode == 0) ((CSMTPSeverDlg*)m_pWnd)OnReceive()。 東 北大學(xué)秦皇島分校課程設(shè)計 第 9 頁 AsyncSelect(FD_READ)。 CAsyncSocket::OnReceive(nErrorCode)。 } void CServerSocket::OnClose(int nErrorCode) { // TODO: Add your specialized code here and/or call the base class if (nErrorCode == 0) ((CSMTPSeverDlg*)m_pWnd)OnClose()。 CAsyncSocket::OnClose(nErrorCode)。 } // : implementation file // include include include include ifdef _DEBUG define new DEBUG_NEW undef THIS_FILE static char THIS_FILE[] = __FILE__。 endif CListenerSocket::CListenerSocket() { } CListenerSocket::~CListenerSocket() { } // Do not edit the following lines, which are needed by ClassWizard. if 0 BEGIN_MESSAGE_MAP(CListenerSocket, CAsyncSocket) //{{AFX_MSG_MAP(CListenerSocket) //}}AFX_MSG_MAP END_MESSAGE_MAP() endif // 0 // CListenerSocket member functions void CListenerSocket::SetParent(CDialog *pWnd) { m_pWnd = pWnd。 } void CListenerSocket::OnAccept(int nErrorCode) { if (nErrorCode == 0) ((CSMTPSeverDlg*)m_pWnd)OnAccept()。 CAsyncSocket::OnAccept(nErrorCode)。 } 客戶端相關(guān)代碼: 1)、相關(guān)核心代碼如下: // : implementation file include include include include .\lib\ include .\lib\ 東 北大學(xué)秦皇島分校課程設(shè)計 第 10 頁 include ifdef _DEBUG define new DEBUG_NEW undef THIS_FILE static char THIS_FILE[] = __FILE__。 endif static TCHAR _szFilter[] = TEXT(All Files\0*.*\0Text Files (*.txt)\0*.TXT\0)。 ///////////////////////////////////////////////////////////////////////////// class CAboutDlg : public CDialog { public: CAboutDlg()。 // Dialog Data //{{AFX_DATA(CAboutDlg) enum { IDD = IDD_ABOUTBOX }。 //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAboutDlg) protected: virtual void DoDataExchange(CDataExchange* pDX)。 // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: //{{AFX_MSG(CAboutDlg) //}}AFX_MSG DECLARE_MESSAGE_MAP() }。 CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) { //{{AFX_DATA_INIT(CAboutDlg) //}}AFX_DATA_INIT } void CAboutDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX)。 //{{AFX_DATA_MAP(CAboutDlg) //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) //{{AFX_MSG_MAP(CAboutDlg) // No message handlers //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CEMailDlg dialog CEMailDlg::CEMailDlg(CWnd* pParent /*=NULL*/) : CDialog(CEMailDlg::IDD, pParent) { //{{AFX_DATA_INIT(CEMailDlg) m_to = _T()。 m_subject = _T()。 m_from = _T()。 m_content = _T()。 m_cc = _T()。 m_bcc = _T()。 //}}AFX_DATA_INIT // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 m_bIsSetup = FALSE。 東 北大學(xué)秦皇島分校課程設(shè)計 第 11 頁 //m_hIcon = AfxGetApp()LoadIcon(IDR_MAINFRAME)。 m_hIcon = AfxGetApp()LoadIcon(IDI_MAIL)。 } void CEMailDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX)。 //{{AFX_DATA_MAP(CEMailDlg) DDX_Control(pDX, IDC_LIST_FILE, m_ListBox)。 DDX_Text(pDX, IDC_EDIT_TO, m_to)。 DDX_Text(pDX, IDC_EDIT_SUBJECT, m_subject)。 DDX_Text(pDX, IDC_EDIT_FROM, m_from)。 DDX_Text(pDX, IDC_EDIT_CONTENT, m_content)。 DDX_Text(pDX, IDC_EDIT_CC, m_cc)。 DDX_Text(pDX, IDC_EDIT_BCC, m_bcc)。 //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CEMailDlg, CDialog) //{{AFX_MSG_MAP(CEMailDlg) ON_WM_SYSCOMMAND() ON_WM_PAINT() ON_WM_QUERYDRAGICON() ON_BN_CLICKED(IDC_BUTTON_ADD_FILE, OnButtonAddFile) ON_BN_CLICKED(IDC_BUTTON_SEND, OnButtonSend) ON_BN_CLICKED(IDC_BUTTON_SETUP, OnButtonSetup) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CEMailDlg message handlers BOOL CEMailDlg::OnInitDialog() { CDialog::OnInitDialog()。 // Add About... menu item to system menu. // IDM_ABOUTBOX must be in the system mand range. ASSERT((IDM_ABOUTBOX amp。 0xFFF0) == IDM _ABOUTBOX)。 ASSERT(IDM_ABOUTBOX 0xF000)。 CMenu* pSysMenu = GetSystemMenu(FALSE)。 if (pSysMenu != NULL) { CString strAboutMenu。 (IDS_ABOUTBOX)。 if (!()) { pSysMenuAppendMenu(MF_SEPARATOR)。 pSysMenuAppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu)。 } } // Set the icon for this dialog. The framework does this automatically // when the application39。s main window is not a dialog SetIcon(m_hIcon, TRUE)。 // Set big icon SetIcon(m_hIcon, FALSE)。 // Set small icon // TODO: Add extra initialization here stat
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1