-
新建文件夹
说明: ◎ 为所有socket函数调用添加错误处理代码;
◎ 范例中服务器地址和端口是固定值,请你将它们改成——允许用户以参数形式从命令行输入;
◎ 范例中客户机发送的是固定文本”Hello Network!”,请改成——允许用户输入字符串,按回车发送;实现循环,直至客户机输入“bye”退出;
◎ 服务器迭代地处理客户机:一个客户机退出后、才接受下一个,按Ctrl+C可以终止服务器程序。(Add error handling code for all socket function calls;
In the example, the server address and port are fixed values. Please change them to - allow users to input from the command line in the form of parameters;
In the example, the client sends the fixed text "Hello network!", please change it to -- allow the user to input the string and press enter to send; realize the loop until the client enters "Bye" to exit;
Server processes clients iteratively: one client exits before accepting the next. Press Ctrl + C to terminate the server program.)
- 2020-11-28 22:43:54下载
- 积分:1
-
多线程端口扫描程序源代码
多线程端口扫描程序源代码( Multi-thread port scanning procedure source code )
- 2004-07-17 12:31:37下载
- 积分:1
-
LAMP项目常用模块,包括图像处理模块、文件上传下载模块、邮件发送模块等...
LAMP项目常用模块,包括图像处理模块、文件上传下载模块、邮件发送模块等-LAMP project commonly used modules, including image processing module, file uploading and downloading modules, e-mail sending module
- 2022-09-25 07:30:02下载
- 积分:1
-
CWebUpdatePrj
实现通用的程序升级功能,可以检查是否有更新,下载更新(Achieve universal upgrade feature, you can check for updates, download updates)
- 2014-06-04 16:42:16下载
- 积分:1
-
ibookactweb1
使用WAS对Web应用程序进行负载测试
图书语言: 简体中文
图书类型: 程序设计 >> 其它程序语言下载
授权方式: 免费其它程序语言图书
图书大小: 487 KB
(The use of WAS for Web application load testing books Language: Simplified Chinese Book Type: Program Design)
- 2007-08-26 17:04:13下载
- 积分:1
-
hqwyyzm
通过此软件可以获取网页验证码,用于研究软件来控制网页中的元素信息.(With this software, you can access to the website code, used to study the software to control elements of the website information.)
- 2013-10-11 15:47:03下载
- 积分:1
-
SerialPort_vc
一个关于串口通信编程的小程序,使用visual c++编写。(Serial communication programming on small procedures, the use of visual c++ Prepared.)
- 2007-07-16 15:57:05下载
- 积分:1
-
ntop-3.2
ntop 3.2的源代码,其官方网站为http://222.ntop.org(ntop 3.2 source code for its official website http://222.ntop.org)
- 2006-08-05 10:30:24下载
- 积分:1
-
Client
Use of socket trough ethernet - IP(Use of socket trough ethernet- IP)
- 2009-11-17 04:54:19下载
- 积分:1
-
MScomm
说明: 为解决实际测控系统中在控制中心的上位机和控制功能设备的下位机之间传送命令和文件的问题,在讨论VC++6.0中MSComm控件的基础上,通过制定通信协议、给命令和文件加入标识构成包进行传送,从而正确地区分了命令和文件.实验表明,基于该通信协议,可以成功地传送命令和多类型文件. (To address the actual measurement and control system in the Control Center PC and control functions of equipment under the digital transmission between orders and documents, in discussing the VC++ 6.0 in MSComm control on the basis of the communication protocol through the development to the orders and adding logo files constitute a packet transmitted, thereby correct distinction between the orders and documents. The experimental results show that based on the communication protocol, you can successfully send a command and multi-type documents.)
- 2008-09-07 13:00:04下载
- 积分:1