Client¶
Description
-
class
lab_utils.socket_comm.
Client
(config_file: str = None, host: str = None, port: int = None)[source]¶ Simple TCP client to communicate with a running
Server
. It sends a message and receives the reply from the server.Attributes
Host address.
Connection port.
Methods
Initializes the
Client
object.Loads the TCP configuration from the file
config_file
.Complete communication process.