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

📄 226.htm

📁 unix高级编程原吗
💻 HTM
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>CTerm非常精华下载</title>
</head>
<body bgcolor="#FFFFFF">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="577">
<tr><td width="32%" rowspan="3" height="123"><img src="DDl_back.jpg" width="300" height="129" alt="DDl_back.jpg"></td><td width="30%" background="DDl_back2.jpg" height="35"><p align="center"><a href="http://apue.dhs.org"><font face="黑体"><big><big>apue</big></big></font></a></td></tr>
<tr>
<td width="68%" background="DDl_back2.jpg" height="44"><big><big><font face="黑体"><p align="center">               ● UNIX网络编程                       (BM: clown)                </font></big></big></td></tr>
<tr>
<td width="68%" height="44" bgcolor="#000000"><font face="黑体"><big><big><p   align="center"></big></big><a href="http://cterm.163.net"><img src="banner.gif" width="400" height="60" alt="banner.gif"border="0"></a></font></td>
</tr>
<tr><td width="100%" colspan="2" height="100" align="center" valign="top"><br><p align="center">[<a href="index.htm">回到开始</a>][<a href="188.htm">上一层</a>][<a href="227.htm">下一篇</a>]
<hr><p align="left"><small>发信人: hey (吟风·魂之利刃), 信区: Socket <br>

标  题: POP3 编程1(转贴) <br>

发信站: 华南网木棉站 (Thu May 28 14:02:07 1998), 转信 <br>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] <br>

POP3 编程1(转贴) <br>

Subject: POP3 编程1(转贴) <br>

From: javabean.bbs@bbs.nju.edu.cn (咖啡豆) <br>

Date: 05 May 1998 15:51:36 GMT <br>

Newsgroups: cn.bbs.comp.winsock <br>

Organization: nju_bbs <br>

Xref: ustcnews cn.bbs.comp.winsock:502 <br>

//POPConst.h <br>

//最大Pop3命令数 <br>

#define MAX_POP3_COMMAND    10 <br>

//Pop3命令 <br>

#define POP3_USER           "USER" <br>

#define POP3_PASS           "PASS" <br>

#define POP3_QUIT           "QUIT" <br>

#define POP3_STAT           "STAT" <br>

#define POP3_LIST           "LIST" <br>

#define POP3_RETR           "RETR" <br>

#define POP3_DELE           "DELE" <br>

#define POP3_NOOP           "NOOP" <br>



#define POP3_LAST           "LAST" <br>

#define POP3_RSET           "RSET" <br>

#define BAD_COMMAND        -1 <br>

#define POP3_USER_ID        0 <br>

#define POP3_PASS_ID        1 <br>

#define POP3_QUIT_ID        2 <br>

#define POP3_STAT_ID        3 <br>

#define POP3_LIST_ID        4 <br>

#define POP3_RETR_ID        5 <br>

#define POP3_DELE_ID        6 <br>

#define POP3_NOOP_ID        7 <br>

#define POP3_LAST_ID        8 <br>

#define POP3_RSET_ID        9 <br>

char *  PopCommands[] = { <br>

                            POP3_USER, <br>

                            POP3_PASS, <br>

                            POP3_QUIT, <br>

                            POP3_STAT, <br>

                            POP3_LIST, <br>

                            POP3_RETR, <br>

                            POP3_DELE, <br>

                            POP3_NOOP, <br>



                            POP3_LAST, <br>

                            POP3_RSET <br>

                         }; <br>

#if !defined(AFX_SG_POP3PRIMARYSOCKET_H__289E8AC6_F75A_11D0_BB6F_00AA00BDF68 <br>

1__) <br>

#define AFX_SG_POP3PRIMARYSOCKET_H__289E8AC6_F75A_11D0_BB6F_00AA00BDF681__IN <br>

CLU_ <br>

#if _MSC_VER >= 1000 <br>

#pragma once <br>

#endif // _MSC_VER >= 1000 <br>

// SG_POP3PrimarySocket.h : header file <br>

// <br>

class CSG_POP3SecondarySocket; <br>

//////////////////////////////////////////////////////////////////////////// <br>

/ <br>

// CSG_POP3PrimarySocket command target <br>

class CSG_POP3PrimarySocket : public CSocket <br>

{ <br>

// Attributes <br>

public: <br>

        BOOL m_bClosed; <br>

// Operations <br>

// Operations <br>

public: <br>

        CSG_POP3PrimarySocket(); <br>

        virtual ~CSG_POP3PrimarySocket(); <br>

        void CloseSocket(); <br>

// Overrides <br>

public: <br>

        CPtrList m_connectionList; <br>

        BOOL StartUp(); <br>

        void RemoveAt(CSG_POP3SecondarySocket * pClient); <br>

        // ClassWizard generated virtual function overrides <br>

        //{{AFX_VIRTUAL(CSG_POP3PrimarySocket) <br>

        public: <br>

        virtual void OnAccept(int nErrorCode); <br>

        //}}AFX_VIRTUAL <br>

        // Generated message map functions <br>

 virtual void OnAccept(int nErrorCode); <br>

        //}}AFX_VIRTUAL <br>

        //{{AFX_MSG(CSG_POP3PrimarySocket) <br>

                // NOTE - the ClassWizard will add and remove member functio <br>

ns e <br>

re. <br>

        //}}AFX_MSG <br>



// Implementation <br>

protected: <br>

}; <br>

//////////////////////////////////////////////////////////////////////////// <br>

/ <br>

//{{AFX_INSERT_LOCATION}} <br>

// Microsoft Developer Studio will insert additional declarations immediatel <br>

y bf <br>

ore the previous line. <br>

#endif // !defined(AFX_SG_POP3PRIMARYSOCKET_H__289E8AC6_F75A_11D0_BB6F_00AA0 <br>

0BD6 <br>

81__INCLUDED_) <br>

-- <br>

[46m [30m  --- JavaBean---   [40m <br>

[m[1;37m※ 来源:.南大小百合信息交换站 bbs.nju.edu.cn.[FROM: ns.ace.nju.edu <br>

.][m <br>

Next by Date: POP3编程(2) <br>

Next by thread: POP3编程(2) <br>

Index(es): <br>

Date <br>

Thread <br>

-- <br>



        ┌──────────────────────────────┐ <br>

        │     I believe I can fly, I believe I can touch the sky.    │ <br>

        └──────────────────────────────┘ <br>

</small><hr>
<p align="center">[<a href="index.htm">回到开始</a>][<a href="188.htm">上一层</a>][<a href="227.htm">下一篇</a>]
<p align="center"><a href="http://cterm.163.net">欢迎访问Cterm主页</a></p>
</table>
</body>
</html>

⌨️ 快捷键说明

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