(introduce
Relevant databases, C/S network communication programming such as
(The development environment is borlandc builder6.0) Text
Test questions:
The test of simple communication by TCP method includes two parts: the server program (program A) and the client program (program B).
Program B:
1gt; In the window of program B, press the "up/down/left/right" keys to remotely control the window of program A through the network to move in 4 directions;
2gt; In the window of program B, press the "plus/minus" key to remotely control the size of the window of program A through the network;
Program A:
1gt; When program A changes its window, it saves the window orientation and size of this window to the local Access library, and the corresponding fields are: time, left, top, width, height when changing;
2gt; When program A changes its window, it sends the Left/Top/W/H of this window to program B, and program B displays the window orientation and size information of program A.
3gt; When the user drags the window of program A in program A, the change of its window also needs to perform 1gt;, 2gt; operations;
Submit the source code, EXE file, and corresponding Access library of Program A/Program B and submit it. (C builder))