it's shared memory, unless vpp dies there is no reason for the connection to go down. if required, I would suggest you send periodic control pings.
Quoting wangchuan...@163.com (2018-11-14 02:12:07) > worried that the connection might break. > > -------------------------------------------------------------------------- > > wangchuan...@163.com > > > From: [1]Klement Sekera > Date: 2018-11-13 18:04 > To: [2]wangchuan...@163.com; [3]vpp-dev > Subject: Re: [vpp-dev] how to set cb for keepalive of vapi-connection @ > 18.10 > Hi, > if you ask vapi to handle keepalives for you, why would you want to get > callbacks for them? > > Regards, > Klement > > Quoting wangchuan...@163.com (2018-11-13 07:27:33) > > Hi�� > > At vpp stable/18.10, using vapi_connect to connect vpp and set > the > > "bool handle_keepalives " to true, > > But how can i add the cb for keepalives? > > If do, does it means that I could judge the timespan to found the > > disconnection , and need to reconnect using vapi_disconnect & > vpai_connect > > ? > > Thanks ! > > > > > > -------------------------------------------------------------------------- > > > > wangchuan...@163.com > > References > > Visible links > 1. mailto:ksek...@cisco.com > 2. mailto:wangchuan...@163.com > 3. mailto:vpp-dev@lists.fd.io
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11243): https://lists.fd.io/g/vpp-dev/message/11243 Mute This Topic: https://lists.fd.io/mt/28120658/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-