< Previous by Date Date Index Next by Date >
  Thread Index  

Re: [reSIProcate-users] Enable keepalive


The basicClient sample application in dum/text is great reference for this.

Scott

On Tue, Jan 12, 2016 at 10:50 PM, alexine via resiprocate-users <resiprocate-users@xxxxxxxxxxxxxxx> wrote:
_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/

---------- Forwarded message ----------
From: <alexinessweetoptions@xxxxxxxxx>
To: "resiprocate-users@xxxxxxxxxxxxxxx" <resiprocate-users@xxxxxxxxxxxxxxx>
Cc: 
Date: Wed, 13 Jan 2016 03:50:29 +0000 (UTC)
Subject: Enable keepalive
hi,


"To enable keep alive messages you need to call:"
auto_prt<KeepAliveManager> keepAlive(new KeepAliveManager);
 dum->setKeepAliveManager(keepAlive); 
 dum->getMasterProfile()->setKeepAliveTimeForDatagram(30);
 dum->getMasterProfile()->setKeepAliveTimeForStream(30);

I want to enable the keepalive,  where do i have to put the above codes?

thank you in advance..