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

Re: [reSIProcate] minor change to SipStack::addTransport


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jun 3, 2004, at 17:57, Jason Fischl wrote:

I'm going to change the interface to return a bool. If the addTransport
succeeded, it returns true. If it failed (likely because the port is already
in use), it will return false.


There was also a minor change to addTlsTransport().

If addTlsTransport throws (if there are no root certs it will), the addTlsTransport() routine no longer catches the Exception.

One pleasant side-effect of the addTransport() changes is that you can now loop in your client code adding transports on a free port.

Cheers,

Alan


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFAxfUj2t1B785xGCgRAkZmAJ44aZ8xTANc8Lslmq2qDx2FakLJcwCgkUqT
2Su7Qmw2Upy8aWkTJ404et8=
=VHhW
-----END PGP SIGNATURE-----