[reSIProcate] Changed stunTest to use nonblocking socket
- From: "Matthias Moetje - TERASENS GmbH" <moetje@xxxxxxxxxxxx>
- Date: Wed, 19 Apr 2006 00:42:58 +0200
Hi,
as proposed some
time earlier I have now changed the stunTest
function to use a
nonblocking socket. Reasons are obvious:
- function does
not return if STUN server does not answer
- application
can't be shutdown properly while waiting for a socket
The stunTest
function now has a new timeout parameter with a
default of
5000ms.
Best regards,
Matthias Moetje