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

Client.host

Host address.

Client.port

Connection port.

Methods

Client.__init__

Initializes the Client object.

Client.config

Loads the configuration from a file.

Client.send_message

Complete communication process.