Server Side Command Display
When the server is started it enters a "listening" mode where it is waiting
to accept connection requests from clients.
When a client connects the
server:
- accepts the connection from the client as a new socket
- receives the command from the client
- writes the command to the serial port (ie to the ADR card)
- reads the response from the serial port
- sends the response to the client
- closes the socket created for this connection
- waits to accept the next connection on the listening socket
The server also provides
some rudimentary help text. |