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

Re: [reSIProcate-users] Shall I delete the Transport ?


Transports are deleted by stack in ~TransportSelector.

Scott


On Tue, Sep 24, 2013 at 4:12 AM, Karlsson <boost.regex@xxxxxxxxx> wrote:
If use this function to create the transport, shall I delete this transport when the application is closed ? Or does the Stack will delete it ?


    Transport* addTransport( TransportType protocol,
                         int port,
                         IpVersion version=V4,
                         StunSetting stun=StunDisabled,
                         const Data& ipInterface = Data::Empty,
                         const Data& sipDomainname = Data::Empty, // only used
                                                                  // for TLS
                                                                  // based stuff
                         const Data& privateKeyPassPhrase = Data::Empty,
                         SecurityTypes::SSLType sslType = SecurityTypes::TLSv1,
                         unsigned transportFlags = 0,
                         SecurityTypes::TlsClientVerificationMode cvm = SecurityTypes::None,
                         bool useEmailAsSIP = false);

_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/