Skip to content

The A_PROCESSING_TIME in constants.py is not effective when using a TCP connection? #45

@mixc0lumn

Description

@mixc0lumn

In _connect function of client.py, self._tcp_sock.settimeout(A_PROCESSING_TIME)is set after self._tcp_sock.connect((self._ecu_ip_address, self._tcp_port)), which make A_PROCESSING_TIME is not effective.
Below is the fix suggestion, where the position of these two lines change:
20231123-100546

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions