Re: [vpp-dev] how to set cb for keepalive of vapi-connection @ 18.10

2018-11-14 Thread Klement Sekera via Lists.Fd.Io
ht 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 @ >

Re: [vpp-dev] how to set cb for keepalive of vapi-connection @ 18.10

2018-11-13 Thread wangchuan...@163.com
worried that the connection might break. wangchuan...@163.com From: Klement Sekera Date: 2018-11-13 18:04 To: wangchuan...@163.com; 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

Re: [vpp-dev] how to set cb for keepalive of vapi-connection @ 18.10

2018-11-13 Thread Klement Sekera via Lists.Fd.Io
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, >Bu

[vpp-dev] how to set cb for keepalive of vapi-connection @ 18.10

2018-11-12 Thread wangchuan...@163.com
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 ? Th