Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can my TAO client obtain information about the endpoint (e.g., IP address and port for IIOP) it is using to send a request?

0
Posted

How can my TAO client obtain information about the endpoint (e.g., IP address and port for IIOP) it is using to send a request?

0

The TAO::Transport::IIOP::Current interface can be used to obtain information about the local and remote endpoints. Please see example code in How can my TAO application obtain endpoint information (e.g., IP. Similar code can be used by the client to obtain information about the endpoint used to send a request. Note since the transport information is only available on client side at interceptor points (within send_request, send_poll(), receive_reply(), receive_exception() and receive_other ()), TAO must be built with support for interceptors if the client side needs Transport::Current functionality.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123