Fix #1229: bug fix and enhancements for PJLIB-UTIL STUN client:

Bug:
 1. Bug: if UDP packet is lost, the resolver will wait until all retransmissions are done, which means 4 seconds delay.

Enhancements:
 1. Allow caller to specify only 1 STUN server, for faster result.
 1. If both servers point to the same address, only one will be used.
 1. Decrease retransmission delay from 1000 ms to 500 ms for more responsive result.
 1. Reduce memory consumption (from 1024 to 400 bytes).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3540 74dad513-b988-da41-8d7b-12977e46ad98
1 file changed