Hi Praveen, 

In 19.08 you can grab the local and remote endpoints with session_get_endpoint. 
We didn’t have these in 19.04.

Florin

> On Jul 31, 2019, at 7:18 PM, Praveen Kariyanahalli <praveen.ha...@gmail.com> 
> wrote:
> 
> I wrote an client app to connect to remote tls_server using vnet_connect_uri. 
> 
> Post connect, how do I extract the transport end points (local bind ip, port, 
> rmt ip, rmt port). I am using 1904 version of the code. 
> 
>         ct = transport_get_connection (ecm->transport_proto, index, 
> thread_index);
> 
> Is not helping ... returns 0.
> 
> Context neither under TLS proto nor under TCP
> 
> What am I missing?
> 
> Thanks in advance
> Praveen
> 
> 
> ᐧ
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#13636): https://lists.fd.io/g/vpp-dev/message/13636
> Mute This Topic: https://lists.fd.io/mt/32674842/675152
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [fcoras.li...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13638): https://lists.fd.io/g/vpp-dev/message/13638
Mute This Topic: https://lists.fd.io/mt/32674842/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to