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 [email protected] (2018-11-14 02:12:07) > worried that the connection might break. > > -------------------------------------------------------------------------- > > [email protected] > > > From: [1]Klement Sekera > Date: 2018-11-13 18:04 > To: [2][email protected]; [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 [email protected] (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 ! > > > > > > -------------------------------------------------------------------------- > > > > [email protected] > > References > > Visible links > 1. mailto:[email protected] > 2. mailto:[email protected] > 3. mailto:[email protected]
-=-=-=-=-=-=-=-=-=-=-=- 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: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
