登录
首页 » Windows Socket编程 » thread safety examples. Description of the procedures for the security thread. T...

thread safety examples. Description of the procedures for the security thread. T...

于 2022-02-05 发布 文件大小:1.77 kB
0 175
下载积分: 2 下载次数: 1

代码说明:

线程安全实例。该程序说明线程安全问题。该例子实现的功能与多线程并发服务器实例的类似,但增加了一个客户数据存储功能,即服务器将存储每个连接客户所发来的所有数据,当连接终止后,服务将显示客户的名字及相应的数据。-thread safety examples. Description of the procedures for the security thread. The examples of the functions and multi-threaded server with similar examples, but the addition of a customer data storage function, which is to store each server will connect customers come in all the data, when connected after termination of service customers will show the names and corresponding data.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 2022-02-27 01:13:50下载
    积分:1
  • p-持续CSMA协议下,一个用户在发送之前,先侦听信道,若是空闲,就以概率p发送出去,而以q =1-p的概率推迟到下一帧时。如果下一帧时仍是空闲,便再次以概率p发送而以q推迟到再下一帧时。直到发送成功或另外一用户开始发送时为止。若一开始就侦听到信道忙,它就等到下一帧时,然后再开始上述过程。若发生冲突,这等待一随机时间后重新开始。本实验中取q值为0.5。求的是0.5-持续CSMA。 -p-persistent CSMA agreement, a user before sending the first interception channel, if idle, with probability p sent, and to q = 1-p probability postponed to the next frames. If the next frame was still idle, they again sent with probability p and q to further postponed to the next frames. Until this a success or other users at the beginning of this date. If an interception at the start of the busy channel, it will wait till the next frames, and then begin the process. If conflict breaks out, waiting for a random period of time after the re-start. The experiments take q value of 0.5. For the 0.5-sustained CSMA.
    2022-02-07 21:49:23下载
    积分:1
  • ASP.NET信息管理系统开发实例导航 第3章 物业管理系统
    ASP.NET信息管理系统开发实例导航 第3章 物业管理系统-ASP.NET development of information management system navigation example, Chapter 3 of the property management system
    2022-03-12 18:19:00下载
    积分:1
  • 如何判断网络上的计算机是否设置了密码
    如何判断网络上的计算机是否设置了密码-how to judge a computer on a network is set password
    2022-06-30 09:36:34下载
    积分:1
  • 对网络序Winsock。是一个服务器
    这是一个关于winsock的网络编程的程序。是一服务器端VC视频会议代码,希望对你们有用。-winsock on the network programming procedures. Is a server-side code VC Video Conference, and I hope to you useful. Ha ha!
    2022-10-26 19:20:03下载
    积分:1
  • the application of capturing datas of network .
    基于winpcap的网络数据包捕获应用程序。用vc++编写-the application of capturing datas of network .
    2022-07-03 09:41:43下载
    积分:1
  • 凡人网络购物系统 v8.0 生成html版本,系统平台:ASP+ACCESS
    凡人网络购物系统 v8.0 生成html版本,系统平台:ASP+ACCESS -Mortal online shopping system to generate html version v8.0, the system platform: ASP ACCESS
    2022-05-13 20:12:14下载
    积分:1
  • 模拟路由器,可以在多台机器上实现RIP算法,利用还可以发送测试的包。在任意时刻可以添加邻居,改变邻居信息等。...
    模拟路由器,可以在多台机器上实现RIP算法,利用还可以发送测试的包。在任意时刻可以添加邻居,改变邻居信息等。-simulated routers, in multiple machines to achieve RIP algorithm can also use this test kits. At any moment they can add neighbors, neighbors information.
    2022-01-22 10:54:50下载
    积分:1
  • 很好……你可以学到更多的东西…
    两线程同时监控服务器的两个端口,从其中一个端口接收到得数据都会通过另一端口转发给另一客户端。-It s very good...you can learn much more...
    2023-04-09 10:50:04下载
    积分:1
  • in VC compiler, achieving large file transfer, very fast, can be designated port...
    在VC下编译,实现大文件的传输,速度很快,可以指定端口和IP-in VC compiler, achieving large file transfer, very fast, can be designated ports and IP
    2022-11-02 03:00:03下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载