Client Server Diagram: Sending Commands and Responses
The diagram given below shows a simple example of a Client - Server connection and a series of function calls used to send commands and responses.
Client |
Action |
Server |
|
Set the computer to act as a server and listen for connection requests |
|
--------------------------------------------------> |
||
<-------------------------------------------------- |
||
--------------------------------------------------> |
||
<-------------------------------------------------- |
||
--------------------------------------------------> |
||
<-------------------------------------------------- |
||
--------------------------------------------------> |
||
<-------------------------------------------------- |
||
--------------------------------------------------> |