-
声明一个原始套接字,设置套接字选项,将本地IP和端口绑定到该套接字,使用WSAIoctl设置SIO_RCVALL 接收所有的数据包,启动一个死循环来不断分析接收...
声明一个原始套接字,设置套接字选项,将本地IP和端口绑定到该套接字,使用WSAIoctl设置SIO_RCVALL 接收所有的数据包,启动一个死循环来不断分析接收到的数据包-a statement original socket, set socket options to the local IP and port binding to the socket, use WSAIoctl SIO_RCVALL set up to receive all the data packets, started a cycle of death to receive ongoing analysis of data packets
- 2022-07-11 09:01:04下载
- 积分:1
-
熟悉Http协议的请求和响应格式,编写一个简单的Http服务器。
基本要求:
1 正确解析Http请求,实现简单的GET请求回应。
2 模拟...
熟悉Http协议的请求和响应格式,编写一个简单的Http服务器。
基本要求:
1 正确解析Http请求,实现简单的GET请求回应。
2 模拟一个对象(如:文件index.html)的GET回应(如:回应一个字符串),对于其他的对象,则根据Http响应格式回应对象不存在信息。
3 通过浏览器可检测自己的程序。如:输入http://the.ip.of.your.pc:serverPort/index.html,查看其响应结果。
4 对http请求的处理必须采用多进程实现,即主进程负责等待请求连接,每当收到一个请求后,产生一个子进程对该请求做单独处理,主进程继续等待新请求,子进程在处理完其请求后结束自己。详细要求参考课本要求。(多进程编程参考函数fork())
-Http familiar with the agreement of the request and response format, write a simple Http server.
Basic requirements:
Http parsing a proper request, to achieve a simple GET request to respond.
2 analog an object (such as: file index.html) of the GET response (such as: in response to a string), for other objects, then according to Http response format, the information to respond to the object does not exist.
3 can be detected through the browser s own procedures. Such as: Enter http://the.ip.of.your.pc:serverPort/index.html, see the results of its response.
4 pairs of http request processing must be used to achieve multi-process
- 2023-04-01 20:15:03下载
- 积分:1
-
《VC网络高级编程》随书光盘,内部附有教材所有范例的源码。...
《VC网络高级编程》随书光盘,内部附有教材所有范例的源码。-VC Network Advanced Programming book with CD-ROM, internal materials with the source code of all examples.
- 2022-12-25 00:45:04下载
- 积分:1
-
这个是FASTNET的D7版本。解决了D7没有FASTNET的。
这个是FASTNET的D7版本。解决了D7没有FASTNET的。-D7 version. D7 not solve the FASTNET.
- 2022-05-29 23:59:48下载
- 积分:1
-
一个简单的vc聊天室程序供对使用vc进行网络编程感兴趣的人参考代码是相对完整的并且本人对其进行了尽可能的简化处理以方便vc 初学者学习...
一个简单的vc聊天室程序供对使用vc进行网络编程感兴趣的人参考代码是相对完整的并且本人对其进行了尽可能的简化处理以方便vc 初学者学习-a simple vc chat room procedures for the use of network programming vc interested in the reference code is relatively complete and I waged a simplified as much as possible to facilitate vc beginners learning
- 2022-03-20 06:58:27下载
- 积分:1
-
SMTP pop in the given procedure to add a filter to enable the theme for the rece...
在给出的SMTP pop程序中加上一个过滤器,使能够对接收邮件的主题内容进行关键字过滤。关键字从文件中读出,不少于十个,比较结果符合的打印出过滤用关键字、邮件主题、邮件发件人。多重符合的每次结果都要打印。在windows Visual C++ 下调试-SMTP pop in the given procedure to add a filter to enable the theme for the receiving e-mail content filtering keywords. Keywords from the document read out, of not less than 10, in line with the results of the comparison with the print keyword filtering, mail the theme of the message sender. Multi-line with the results of each must be printed. In windows Visual C++ under the debugger
- 2022-04-20 20:17:43下载
- 积分:1
-
简单的程序,不完整版的注释比较小,因为…
简单的聊天程序,不完善版,注释比较少,因为开发的时候时间比较急,所以没加太多注释。-simple procedures, incomplete version of the Notes is relatively small, because of the development time is more urgent, Therefore, the Notes have not too many.
- 2022-11-01 11:50:03下载
- 积分:1
-
This is c++ Access to online resources, examples, used to obtain weather forecas...
这是c++获取网上资源的例子,用来获取天气预报-This is c++ Access to online resources, examples, used to obtain weather forecasts
- 2023-01-31 21:45:04下载
- 积分:1
-
TCP的客户服务器通信程序 一:程序运行过程 1、运行服务器程序,等待客户端发出请求 2、运行客户端程序,输入客户的IP地址,请求连接 3、若连接成功,服务器端...
TCP的客户服务器通信程序 一:程序运行过程 1、运行服务器程序,等待客户端发出请求 2、运行客户端程序,输入客户的IP地址,请求连接 3、若连接成功,服务器端显示客户的IP地址及端口号;客户端接收文件并保存在d:clientls.txt下,否则,显示错误信息。 二:程序实现原理 发送端:打开文件,逐一读取字符到缓冲区(缓冲区大小为1024),若文件大于1024,则成块发送;若小于,则直接发送。 接受端:与发送端同理。-TCP client-server communication program one : running a process, running the server and wait for the client to issue two requests, the client operating procedures, the importation of customer IP address, link request, if successful connection, the server-client shows the IP address and port number ; the client receives the document and preserve d : client ls.txt, otherwise an error message. 2 : Principle procedures transmitter : open the file, read each character to the buffer (buffer size for 1024), and if the document is greater than 1,024, then sent into pieces; If less, then sent directly. Receivers : Send-the same reason.
- 2022-06-30 17:04:28下载
- 积分:1
-
要求asp.net环境,并要在IIS里设置网站属性 可以用来限制图片等文件的盗链,0.32版可设置不限制域名 通过referrer判断,如果没有引用页返回真实文...
要求asp.net环境,并要在IIS里设置网站属性 可以用来限制图片等文件的盗链,0.32版可设置不限制域名 通过referrer判断,如果没有引用页返回真实文件,如果引用页的域名不是本网站域名则返回wbtbForbidden.jpg这个图片,文件不存在返回wbtbNotFound.jpg这个图片 用法:http://www.xmlasp.net/WBAL/-Asp. Net environmental requirements and to the installed IIS Web site attributes can be used to limit pictures of the Irvine document, version 0.32 is not set restrictions on domain names through referrer judgment, if not applied to the real page document, if the pages of the Web site domain name is not returned wbtbForbidden . jpg the photographs, the file does not exist to return to the Photo wbtbNotFound.jpg Usage : http://www.xmlasp.net/WBAL/
- 2022-01-25 16:37:23下载
- 积分:1