登录
首页 » 套接字网络编程 » 用C++编写的网络通信框架的多

用C++编写的网络通信框架的多

于 2022-12-19 发布 文件大小:25.37 kB
0 42
下载积分: 2 下载次数: 1

代码说明:

用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

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

发表评论

0 个回复

  • 696522资源总数
  • 104027会员总数
  • 45今日下载