-
新建文件夹
说明: ◎ 为所有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
-
udp
利用socket技术,实现了局域网之间的通信,两个客户端之间可以相互聊天(Socket technology, communication between the LAN between the two clients can chat with each other.
)
- 2012-05-06 09:10:59下载
- 积分:1
-
wireless
用于无线网络编程的学习,很实用,作为初学者的入门教材还是很有用的。(Wireless network programming for learning)
- 2013-12-02 17:25:50下载
- 积分:1
-
Tut10_wave_UDF
说明: 推板造波的程序,有需要的欢迎使用,最好能公开,哈哈。(for making wave.Hi everyone i want to run a shock tube simulation case to verify if the data can match experimental data from our lab.)
- 2019-04-08 15:01:41下载
- 积分:1
-
17501500
用VC写的界面编程,可实现用图形纹理的设计,()
- 2018-02-24 23:36:04下载
- 积分:1
-
beginAtTheSameTime
说明: 模拟单道环境下多个进程并发
目的:通过模拟单道环境下多个进程的并发的实验,来加深对进程并发的理解。(Analog single-channel environment than the process of concurrent Objective: Simulation of single-channel environment than the process of concurrent experiments, to deepen their understanding of the process of understanding concurrency.)
- 2008-11-22 10:48:51下载
- 积分:1
-
TimeServer--mima
从网络上获取标准时间,用以矫正本地主机的时间,使之与网络同步(From the network access standard time for the correction of the local host time so that with the network synchronization)
- 2008-02-24 15:07:03下载
- 积分:1
-
PortScan
端口扫描器。 本扫描器实现了:TCP Connect 扫描,TCP SYN扫描,TCP Fin扫描,TCP ACK扫描及UDP端口扫描,这些扫描能够实现扫描特定IP地址范围内端口和扫描某IP地址范围内全部主机特定端口两种模式,并且SYN扫描能够区分端口开放、端口关闭和被防火墙过滤三种状态。(Port scanner. The scanner realized: TCP Connect Scan, TCP SYN Scan, TCP Fin Scan, TCP ACK scan and UDP port scan, the scan can scan a specific IP address range of ports and scanning a range of IP addresses all host two specific ports mode, and can distinguish SYN scan open ports, port closed and the three states firewall filters.)
- 2020-11-25 00:59:32下载
- 积分:1
-
CSMA
csma protocol and implementation
- 2013-06-09 16:39:27下载
- 积分:1
-
Server
服务器端代码··可以跟客户端自由通信··(Server-side code can be freely client communications)
- 2009-03-05 18:07:12下载
- 积分:1