-
C# pop3 邮件接收程序
private void Connect_Click(object sender, System.EventArgs e) { //将光标置为等待状态 Cursor cr = Cursor.Current; Cursor.Current = Cursors.WaitCursor; String a ,b,c; //用110端口新建POP3服务器连接 Server = new TcpClient(PopServer.Text, 110); Status.Items.Clear(); try { //初始化 NetStrm = Server.GetStream(); RdStrm = new StreamReader(Server.GetStream()); Status.Items.Add(RdStrm.ReadLine()); //登录服务器过程 Data = "USER " Username.Text CRLF; szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray()); NetStrm.Write(szData, 0, szData.Length); Status.Items.Add(RdStrm.ReadLine()); Data = "PASS " Password.Text CRLF; szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray()); NetStrm.Write(szData, 0, szData.Length); Status.Items.Add(RdStrm.ReadLine()); //向服务器发送STAT命令,从而取得邮箱的相关信息:邮件数量和大小 Data = "STAT" CRLF; szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray()); NetStrm.Write(szData, 0, szData.Length); //Status.Items.Add(RdStrm.ReadLine()); //改变按钮的状态 Connect.Enabled = false; Disconnect.Enabled = true; Retrieve.Enabled = true; //将光标置回原来状态 Cursor.Current = cr; } catch (InvalidOperationException err) { Status.Items.Add("Error: " err.ToString()); } }
- 2014-11-02下载
- 积分:1
-
模拟QQ登陆,并按QQ号查询QQ基本资料
返回的qq基本信息有:(联系地址,用户年龄,用户邮箱,头像,个人网站,职业,邮箱,联系电话,简介,省份,真实姓名,毕业院校,性别,QQ号,昵称)
- 2012-12-26下载
- 积分:1
-
PtoP-CHAT
点对点聊天工具,完整的工程,学习网络编程的可以参考(POINT TO POINT CHAT)
- 2013-05-05 00:40:52下载
- 积分:1
-
InstantMessaging
简单的网络聊天文件传输程序 可以
0.普通聊天(文字、图片)
1.聊天室
2.传输文件(断点续传)
3.共享屏幕
4.白板
5.视频、音频聊天(Simple network chat file transfer program can 0. General chat (text, images) a chatroom 2. Transfer files (HTTP) 3. Shared screen 4. Whiteboard 5 video and audio chat)
- 2013-08-26 22:14:23下载
- 积分:1
-
P2P打洞源码,客户端和服务器源码,C++编写
P2P打洞源码,客户端和服务器源码,C++编写,很好的学习p2P的资料。一套纯c++实现的p2p典范,是学习c++编码的经典之作。 无论编码格式,风格,还是对c++各种语法,模板的使用都非常详细。 不可多得的好代码,打开即可编译运行。
- 2022-01-24 12:36:42下载
- 积分:1
-
NewCuteFTP
说明: 一款与CuteFTP软件相媲美的源代码,非常值得下载,学习和参考Ftp工具VC++编程必不可少的源码,学习和使用FTP的朋友不仿下载一看!(A match with the CuteFTP software source code, very worth the download, Ftp tools for learning and reference VC++ Indispensable source programming, learning and use FTP to download the friend does not like a look!)
- 2008-11-19 14:12:13下载
- 积分:1
-
SystemGraph
关于网络流量监控的曲线设计,软件小巧,占用资源少,且适用,适合课程设计,毕业设计。(About network flow monitoring the curve of the design, software compact, take up less resources, and applicable, suitable for course design, graduation design.
)
- 2012-03-20 11:25:44下载
- 积分:1
-
开放源码的ldap系统
开放源码的ldap系统-Ldap system of openning source
- 2023-01-16 23:55:04下载
- 积分:1
-
44810407
Desktop drawing program, for beginners to understand the vc code is a good example, performance fun and easy to learn
- 2018-12-31 11:33:10下载
- 积分:1
-
iprout-hash
一种基于hash表的IP路由表搜索技术,在WINDOWS下VC++实现(a hash table based on the IP routing table search technology, under the VC WINDOWS)
- 2007-01-04 14:13:20下载
- 积分:1