登录
首页 » Windows Socket编程 » 线程安全实例。该程序说明线程安全问题。该例子实现的功能与多线程并发服务器实例的类似,但增加了一个客户数据存储功能,即服务器将存储每个连接客户所发来的所有数据,当...

线程安全实例。该程序说明线程安全问题。该例子实现的功能与多线程并发服务器实例的类似,但增加了一个客户数据存储功能,即服务器将存储每个连接客户所发来的所有数据,当...

于 2022-01-22 发布 文件大小:1.31 kB
0 268
下载积分: 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 个回复

  • 多聊和私聊都可实现,希望多多捧场哈,不会让你失望的哦
    多聊和私聊都可实现,希望多多捧场哈,不会让你失望的哦-chat and more can be achieved Private Chat, a lot in. Kazakhstan, and will not let you disappointed oh
    2022-01-31 05:05:07下载
    积分:1
  • 使用CAsyncSocket类,代理服务器
    采用CAsyncsocket类连接代理服务器-used CAsyncsocket category, Proxy Server
    2022-05-07 04:34:41下载
    积分:1
  • vc编写,操作msmq的例子,封装成class,可直接调用!
    vc编写,操作msmq的例子,封装成class,可直接调用!-vc preparation, operation MSMQ example, packaged as class can directly call!
    2022-07-18 08:31:23下载
    积分:1
  • 电子商务系统平台
    电子商务系统平台-e-commerce platform
    2023-08-06 07:25:03下载
    积分:1
  • 初始化管理员账号:admin密码:admin初始化生成。
    初始化管理员帐号:admin 密码:admin   初始化一般用户帐号:user密码:user   初始化新注册用户帐号:guest密码:guest 以这三种权限登录,都将返回不同的页面。 如果在管理用户的时候不小心把“admin”或者你后来添加的系统管理员删除了,你可以打开“jgxx.mdb”数据库来,然后在"yonghu"表中添加“uname","upassword","upassword","uxinming","uaccesslevel"字段填充记录,注意这些字段每一个字段都是必填的,另:"uaccesslevel"字段值填“2”为最高级系统管理员级别。 “1”为普通用户级别,即只可以查看使用,不得添加和修改数据。“0”最低级别 注意数据库保密,您可以修改数据库名称,或者路径,你然后在"conn.asp"数据库连接中再做相应修改-initialization administrator account : admin Password : admin initialization general user account : user password : user initialization new user account : guest Password : guest to the three powers Login, will return to different pages. If users in the management of not careful, "admin" or later you add the system administrator to delete, you can open the "jgxx.mdb" database, and then "yonghu" Table adding "uname", "upassword", "upassword", "uxinming , "" uaccesslevel "field filled with records, the attention of each one of these fie
    2022-04-16 14:26:55下载
    积分:1
  • 一个较老的微软公司的NDIS驱动程序
    一个较老的微软公司的NDIS驱动程序-A older Ndis driver of Microsoft Company
    2022-05-23 17:46:11下载
    积分:1
  • 对于C #开发语言Delphi和VC,并支持发展。
    开发语言可以为C#,Delphi和VC,并支持面向对象的开发的支持,在服务容量增加的时候很方便的扩充,因此可以很方便的开发C/S网络应用。此外,充分利用UDP的优点并增加了通讯的可靠性。以及对用户的可管理性简化了用户的开发难度。-Development language for the C#, Delphi and VC, and to support the development of object-oriented support to increase capacity in the service when the expansion is convenient, it can be very convenient to develop C/S network application. In addition, full use of the advantages of UDP and increased communications reliability. As well as the users can simplify the management of the development of user difficulty.
    2022-10-17 21:00:03下载
    积分:1
  • Multiget档案下载器!新Multiget为您提供更快速的下载多线程和服务器下载源代码....
    Multiget档案下载器!新Multiget为您提供更快速的下载多线程和服务器下载源代码.-Download file Multiget browser! New Multiget provide you with faster and server multi-threaded download download the source code.
    2022-04-25 03:44:46下载
    积分:1
  • 在同一个线程中实现异步套接字的聊天程序,用以音视频…
    在同一个线程中使用异步套接字实现聊天室程序,避免了不读数据时出现阻塞-In the same thread realize the use of Asynchronous Sockets Chat procedures to avoid non-blocking when reading data
    2022-01-22 02:10:31下载
    积分:1
  • This article is about a client/server multi
    This article is about a client/server multi-threaded socket class.
    2023-06-18 11:25:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载