Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

void PSTUNClient::SetSocketsForPairing ( PINDEX  numSockets ) [inline]

Set the number of sockets to create in attempt to get a port pair. RTP requires a pair of consecutive ports. To get this several sockets must be opened and fired through the NAT firewall to get a pair. The busier the firewall the more sockets will be required.

Parameters:
numSocketsNumber opf sockets to create

Definition at line 281 of file pstun.h.

      { numSocketsForPairing = numSockets; }

Generated by  Doxygen 1.6.0   Back to index