Skip to content

Reduce TCP latency when using socketcand #1684

@faisal-shah

Description

@faisal-shah

Is your feature request related to a problem? Please describe.

The TCP socket is not configured to optimize for latency. Given that, communicating over protocols with tight(er) timing requirements can fail when using socketcand to bridge CAN networks over a TCP connection.

Describe the solution you'd like

The TCP socket should be configured with TCP_NODELAY, and TCP_QUICKACK (where available) to reduce latency.

See #1683

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions