Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.
This repository was archived by the owner on Aug 11, 2023. It is now read-only.

TCP_NODELAY connection header #292

Description

@StefanGlaser

Hi,
I'm using rosjava for controlling a robot in "real-time". In order to get a "real-time" communication, I must use the TCP_NODELAY option for the internal TCP connections, otherwise messages are buffered and not received in time.

There exists a corresponding option in the ConnectionHeaderFields. However, I don't see any way to use this option on a Publisher / Subscriber. So currently I hard-coded this option into the TopicDeclaration and everything works fine. But that's not the way it's supposed to be.

What is the correct way to set the TCP_NODELAY option for a Publisher / Subscriber? Is it even possible in the current implementation?

Thanks a lot in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions