文件名称:gateway
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:25.37kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用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 news back to the client.exe, so if true, the need for additional water information
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 news back to the client.exe, so if true, the need for additional water information
(系统自动生成,下载前可以参看下载内容)
下载文件列表
client/client.cpp
client/client.dsp
client/client.plg
client/ReadMe.txt
client/socket.h
client/StdAfx.cpp
client/StdAfx.h
framework/include/exception.h
framework/include/framework.h
framework/include/global.h
framework/include/mutex.h
framework/include/MyGateway.h
framework/include/queue.h
framework/include/socket.h
framework/src/framework.cpp
framework/src/main.cpp
framework/src/MyGateway.cpp
framework/vc6/网关框架.dsp
framework/vc6/网关框架.dsw
framework/vc6/网关框架.plg
readme.txt
server/ReadMe.txt
server/server.cpp
server/server.dsp
server/server.plg
server/socket.h
server/StdAfx.cpp
server/StdAfx.h
framework/include
framework/src
framework/vc6
client
framework
server
client/client.dsp
client/client.plg
client/ReadMe.txt
client/socket.h
client/StdAfx.cpp
client/StdAfx.h
framework/include/exception.h
framework/include/framework.h
framework/include/global.h
framework/include/mutex.h
framework/include/MyGateway.h
framework/include/queue.h
framework/include/socket.h
framework/src/framework.cpp
framework/src/main.cpp
framework/src/MyGateway.cpp
framework/vc6/网关框架.dsp
framework/vc6/网关框架.dsw
framework/vc6/网关框架.plg
readme.txt
server/ReadMe.txt
server/server.cpp
server/server.dsp
server/server.plg
server/socket.h
server/StdAfx.cpp
server/StdAfx.h
framework/include
framework/src
framework/vc6
client
framework
server
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.