Re: [reSIProcate] minor change to SipStack::addTransport
- From: Alan Hawrylyshen <alan@xxxxxxxxxx>
- Date: Tue, 8 Jun 2004 11:19:28 -0600
-----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-----