文件名称:prg10_1
介绍说明--下载内容均来自于网络,请自行研究使用
聊天室实例。其分为服务器和客户两部分。客户首先与服务器建立TCP连
接,并发送客户名称给服务器,然后就可以通过服务器发信息给其他已连接的客户,同时通
过服务器接收其他客户的信息。-Examples of chat rooms. Divided into two parts, server and client. First of all, the establishment of client and server TCP connection, and send the customer name to the server, then the information can be made through the server is connected to other customers, while other customers receive through the server information.
接,并发送客户名称给服务器,然后就可以通过服务器发信息给其他已连接的客户,同时通
过服务器接收其他客户的信息。-Examples of chat rooms. Divided into two parts, server and client. First of all, the establishment of client and server TCP connection, and send the customer name to the server, then the information can be made through the server is connected to other customers, while other customers receive through the server information.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
prg10_1
.......\chat.cpp
.......\chat.h
.......\chatcli.cpp
.......\mysocket.cpp
.......\mysocket.h
.......\MySync.cpp
.......\MySync.h
.......\Mythread.cpp
.......\mythread.h
.......\TcpServThr.cpp
.......\TcpServThr.h
.......\chat.cpp
.......\chat.h
.......\chatcli.cpp
.......\mysocket.cpp
.......\mysocket.h
.......\MySync.cpp
.......\MySync.h
.......\Mythread.cpp
.......\mythread.h
.......\TcpServThr.cpp
.......\TcpServThr.h