-
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
-
st_asio_wrapper
它是一个c/s网络编程框架,基于对boost.asio的包装(最低在boost-1.49.0上调试过),目的是快速的构建一个c/s系统;效率高、跨平台、完全异步,当然这是从boost.asio继承而来;
自动重连,数据透明传输,自动解决分包粘包问题(这一特性表现得与udp一样);
只支持tcp和udp协议;(It is a c/s network programming framework, based on boost.asio package (minimum tried to increase the boost-1.49.0), the purpose is to build a fast c/s systems efficient, cross-platform, fully asynchronous, Of course, this is from boost.asio inherited
Auto-reconnect, transparent data transmission, automatic sub-stick package to solve the problem (this feature behave the same with udp)
Only supports tcp and udp protocol )
- 2013-08-22 10:10:54下载
- 积分:1
-
LSSVM
说明: 结合风场实时数据以及风场气象数据,分析了实时数据并制定了数据清洗规则;针对风电功率预测领域预测精度低的问题,采用lssvm算法进行预测。(Combined with real-time wind field data and wind field meteorological data, the real-time data was analyzed and data cleaning rules were formulated. For the problem of low prediction accuracy in the field of wind power prediction, lssvm algorithm was used for prediction.)
- 2019-12-11 20:41:23下载
- 积分:1
-
关于串口通信的编程
关于串口通信的编程-on serial communication programming
- 2022-01-25 19:48:30下载
- 积分:1
-
聊天客户端
vc socket实现的聊天室,一个服务器,多个客户端。多个客户端可以通过这个服务器进行通信
- 2023-07-21 09:10:04下载
- 积分:1
-
HTTP服务器多线程在Delphi
应用背景享受样品…图书馆listfiles;{关于DLL内存管理重要提示:sharemem必须在您的图书馆的使用条款和您的项目的第一单元(选择和氮关键技术功能escapecodes(字符串:字符串:字符串);无功我:整数;一开始 ; ; ; ; ;我:= 0(字符串长度)- 1开始和,和,和,和,/ /格式
- 2023-07-04 04:55:03下载
- 积分:1
-
一个网络下载的源代码。具有拖放界面,直接将链接拖到窗口上,即可以实现下载。...
一个网络下载的源代码。具有拖放界面,直接将链接拖到窗口上,即可以实现下载。-a network to download the source code. With drag-and-drop interface that will link directly dragged window, which can download.
- 2022-02-04 17:33:51下载
- 积分:1
-
IOCP_SOCKET-v3.27.1
易语言版稳定IOCP,通讯程序必不可少的好东西(Easy language version stable IOCP, communications programs essential to the good stuff)
- 2014-10-17 16:31:34下载
- 积分:1
-
port_scan
Visual C++案例开发集锦第六章\端口扫描程序的程序源码,值得一看!(Visual C++ case development highlights Chapter program source port scanner, worth a visit!)
- 2011-08-13 16:06:40下载
- 积分:1
-
Wireless Mesh Network is a high
无线网状网是一种高速率、高容量的多点对多点网络,可把它看成是Ad Hoc网络的简化版本。正如Ad Ho。网络一样,无线网状网中的路由是它的一项关键技术。基于此,本论文对无线网状网的路由协议进行研究。
文中首先介绍了无线网状网的结构,特点以及其发展与现状 其次,分析了Ad hoc网络中各种路由协议的优劣 再次,重点研究了其中的一种动态源路由协议(DSR)的具体实现过程 在DSR的基础上,对其进行改进,提出了一种均衡流量动态源路由协议,对它进行性能分析和仿真。-Wireless Mesh Network is a high-speed, high-capacity multi-point-to-multipoint network, it could be seen as Ad Hoc networks, a simplified version. As the Ad Ho. Networks, wireless mesh routing is a key technology. Based on this, the thesis of the wireless mesh routing protocol research. First, wireless mesh networks, introduced the structure, characteristics and status of its development and secondly, an analysis of Ad hoc network routing protocols in a variety of advantages and disadvantages again, focused on one of the Dynamic Source Routing Protocol (DSR) concrete realization of the process in DSR based on its improvement, a balanced flow of dynamic source routing protocol, its performance analysis and simulation.
- 2023-06-24 08:30:04下载
- 积分:1