资 源 简 介
用c++编写的网络通信框架,适用于多客户端的网络通信
client: 模拟客户端程序
server: 模拟服务端程序
gateway:网关程序
启动:client.exe server.exe gateway.exe程序,client程序会网关gateway.exe发送消息
消息内容为字符:00004XXXX XXXX为字符,是使用 04d打印到BUF中的,
gateway.exe收到client.exe发送的消息,此时从系统路由表中取到:B_HOST的信息,并把
收到的消息转发到server.exe程序,如果server.exe程序作相应处理,还可以作为应答,把
消息返回给client.exe,如果要这么实现的话,需要加流水信息-Using c++ to prepare the framework of network communication for multi-client network client: client simulation server: process simulation server gateway: Gateway proceedings: client.exe server.exe gateway.exe procedures, client program will be the gateway message send a message gateway.exe for characters: 00004XXXX XXXX for the characters, is to use 04d to BUF in print, gateway.exe received messages sent client.exe, this time from the system to check the routing table: B_HOST the information, and forwarded to the information received server.exe procedure, if the corresponding procedures to deal with server.exe, but also can serve as a response to the n