Client¶
Description
- class lab_utils.socket_comm.Client(config_file: Optional[str] = None, host: Optional[str] = None, port: Optional[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.