Hi Nikhil, Use two listeners, i.e., call vnet_listen twice once with the ipv4 address and once with the ipv6 address.
Regards, Florin > On Jun 22, 2021, at 7:26 AM, nikhil subhedar <subhedarnik...@gmail.com> wrote: > > Hi All, > i am referring to echo_server code of src/plugins/hs_apps/. > My requirement , > 1)my tcp server should listen to ipv4 and ipv6 simultaneously how it is > achieved can any one please help me for e.g. > in the below code for ipv4 it uses the uri. > > > if ((rv = parse_uri (esm->server_uri, &args->sep_ext))) > { > return -1; > } > > rv = vnet_listen (args); > > Thanks in advance. > Nikhil > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19624): https://lists.fd.io/g/vpp-dev/message/19624 Mute This Topic: https://lists.fd.io/mt/83714532/21656 Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp Mute #vnet:https://lists.fd.io/g/vpp-dev/mutehashtag/vnet Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-