You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Balint Bertalan <be...@gmail.com> on 2021/09/17 21:35:56 UTC

TCP with multiple NICs

Dear Qpid Users!

I am writing a C++ application using the Qpid Proton C++ API (0.34.0): a
client which connects to an AMQP broker and sends and receives messages
to/from. This app is going to be run on a Linux machine where multiple NICs
are available. I'd like to specify the source address of (the/every) TCP
connection opened (bind a local IP address to a socket). I couldn't find
this configuration option in the C++ API, is there any possibility to set
this in the C API, what workaround would be the most straightforward?
Thanks!

Regards,
Balint Bertalan

Re: TCP with multiple NICs

Posted by Robbie Gemmell <ro...@gmail.com>.
I dont think Proton (or the other clients) has that ability. It would
be expected the servers resolved hostname leads to a preferred route
and thus NIC to be used being established.

On Fri, 17 Sept 2021 at 22:36, Balint Bertalan
<be...@gmail.com> wrote:
>
> Dear Qpid Users!
>
> I am writing a C++ application using the Qpid Proton C++ API (0.34.0): a
> client which connects to an AMQP broker and sends and receives messages
> to/from. This app is going to be run on a Linux machine where multiple NICs
> are available. I'd like to specify the source address of (the/every) TCP
> connection opened (bind a local IP address to a socket). I couldn't find
> this configuration option in the C++ API, is there any possibility to set
> this in the C API, what workaround would be the most straightforward?
> Thanks!
>
> Regards,
> Balint Bertalan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org