create_participant() waits indefinitely by default. Can you set a timeout? #3914
Replies: 1 comment
-
i found a work-around. disabling the builtin transports and manually adding them in code or via xml fixed the problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm testing FastDDS on Windows.
I've noticed create_participant() or create_participant_with_profile() will sometimes never return (eg: if my firewall is enabled).
I'd like to set a timeout so create_participant eventually returns with failure instead of freezing the application forever.
I see no example code for how to do this.
can the timeout be set through the DomainParticipantFactory api and/or XML profile?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions