登录
首页 » Windows Socket编程 » 在Internet上的聊天室程序一般都是以服务器提供服务端连接响应,使用者通过客户端程序登录到服务器,就可以与登录在同一服务器上的用户交谈,这是一个面向连接的通...

在Internet上的聊天室程序一般都是以服务器提供服务端连接响应,使用者通过客户端程序登录到服务器,就可以与登录在同一服务器上的用户交谈,这是一个面向连接的通...

于 2022-08-25 发布 文件大小:32.78 kB
0 157
下载积分: 2 下载次数: 1

代码说明:

在Internet上的聊天室程序一般都是以服务器提供服务端连接响应,使用者通过客户端程序登录到服务器,就可以与登录在同一服务器上的用户交谈,这是一个面向连接的通信过程。因此,程序要在TCP/IP环境下,实现服务器端和客户端两部分程序。-In Internet chat rooms on the procedure is generally based on the server side connection in response to the provision of services, the user through the client program to log on to the server, you can log in the same server with the user to chat, this is a connection-oriented communication process. Therefore, procedures to TCP/IP environment, the realization of server-side and client procedures in two parts.

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

发表评论

0 个回复

  • 特别说明,A UDP
    特别说明,A UDP-based Reliable Data Transfer Library源码非原创,详细说明见压缩包里的“说明”word文档-in particular, A UDP-based Reliable Data Transfer Library source of non-original, detailed description of the compression bag "note" word document
    2022-08-13 21:25:36下载
    积分:1
  • 用于局域网内文件的传输,不论文件多在都能正确无误地传到目的地。...
    用于局域网内文件的传输,不论文件多在都能正确无误地传到目的地。-For LAN file transfers, regardless of file can be more correctly conveyed to the destination.
    2022-09-17 13:20:03下载
    积分:1
  • 在网络中,使用IPC$拷贝文件并添加系统任务,在指定时间内执行。...
    在网络中,使用IPC$拷贝文件并添加系统任务,在指定时间内执行。-the network, the use of the IPC $ copy files and add the system and to the implementation within the specified time.
    2022-03-30 16:13:17下载
    积分:1
  • 用 silverlight1.1 + .net 开发的3d开发例子
    用 silverlight1.1 + .net 开发的3d开发例子 -With silverlight1.1+. Net development of the development of example 3d
    2022-07-03 13:55:01下载
    积分:1
  • 本sablog V1.5从www.cncode.com博客系统。
    This SaBlog v1.5 from www.cncode.com Blog system.
    2023-01-15 05:00:03下载
    积分:1
  • 提供一个网络数据通讯的通用DLL,这个模块支持客户端网络,下次再提供一个服务器与客户端通用的模块。...
    提供一个网络数据通讯的通用DLL,这个模块支持客户端网络,下次再提供一个服务器与客户端通用的模块。-provide a data communications network generic DLL, this module supports client network, the next server to provide a client with a common module.
    2022-03-01 22:00:44下载
    积分:1
  • windows网络之WSAEventSelect模型
    windows网络编程之WSAEventSelect模型-windows network"s programming model WSAEventSelect
    2022-06-21 12:34:28下载
    积分:1
  • 备份数据库 VC,分为服务器端及客户端两部分构成
    远程备份数据库 VC,分为服务器端及客户端两部分构成-Remote backup database VC, is divided into server-side and client-side two parts
    2022-03-12 22:56:46下载
    积分:1
  • VC++环境。实现简单网络管理协议snmp的。界面友好,使用方便。...
    VC++编程环境。实现简单网络管理协议snmp的编程。界面友好,使用方便。-VC++ programming environment. Snmp Simple Network Management Protocol to achieve the programming. Friendly interface and easy to use.
    2022-03-06 07:51:28下载
    积分:1
  •  各个线任务分配是这样实现的。在开始下载时,文件平均分成若干块进行下载。如第一个线一开始的任务是从文件的0位置开始下载一直到72908位置处。线1每次下载...
     各个线程任务分配是这样实现的。在开始下载时,文件平均分成若干块进行下载。如第一个线程一开始的任务是从文件的0位置开始下载一直到72908位置处。线程1每次下载一块数据后就要调整任务,如第一次下载了20800字节的数据,那么线程1的任务将改为:20800-72908。如此下去,直到任务为72908-72908时表示线程1完成了当前的下载任务。此时,线程1就分析各个线程的任务,找出任务最为繁忙的一个线程:如线程3:14816-218724。那么线程1就自动去调整任务,拿50%的任务来再次下载。周而复始直到各个线程都完成任务。不过这里有一点需要注意:为了避免重复下载部分数据,在调整任务的时候,起始的文件便移量必须加上接受缓冲器的字节数,因为如前面所举的列子来看。线程1和线程3在平衡负载的时候,线程正在下载数据,如果所剩的数据比接受缓冲器的大小还小,线程1和线程3的部分下载数据将会重复。   在调整任务和分析任务的时候,会发现一个问题。就是读取文件数据太过频繁。于是我用了一个数据结构。在下载文件的过程中始终打开配置文件,这样速度提高了很多。在文件下载完毕后关闭文件。-various threads assignment is achieved. At the beginning of the download, the paper divided into a number of pieces of the download. As a thread of a task is to start from the position paper of 0 to start the download has 72,908 locations Department. Thread a download each one will have to adjust the data tasks, such as the first downloaded 20,800 gigabytes of data, then threaded a task will be re :20800- 72908. This situation continues until the mandate of 72908-72908 said threaded a completion of the cu
    2022-03-20 03:50:55下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载