A Data Router Using C++ Builder 6. Which contains a simulator and a master program. Simulator will send or receive data using serial port and tcp channel to the master. Master will receive data from simulator and peer master and router the message depends channel infomation including the message. Any message will be packed in a message with channel head.
C++ 56.63%Pascal 42.26%C 0.98%Batchfile 0.12%
privatedatarouter's Introduction
-----------------------
Simuator
-----------------------
Simuator is a program to send message as a testing way to check the
communication line. The simulator can build mulitple devices to send
message by serial port and TCP connection way.
-----------------------
Master
-----------------------
Master is a program to receive multiple devices data from tcp or serial port and forward to other master by 3 channels building with them. Master will crate a message queue for every devices, the master will buffer every message receive from simulator or true device. Master will build 3 channels between master, all device message will package with source and destnation address before sending. The message will unpack in peer master program and dispatch to proper device mobule in master to send to device.