Function
Purplestun_discover
Declaration [src]
PurpleStunNatDiscovery*
purple_stun_discover (
PurpleStunCallback cb
)
Description [src]
Starts a NAT discovery. It returns a PurpleStunNatDiscovery if the discovery is already done. Otherwise the callback is called when the discovery is over and NULL is returned.
Parameters
cb |
PurpleStunCallback |
The callback to call when the STUN discovery is finished if the discovery would block. If the discovery is done, this is NOT called. |
Return value
Returns: | PurpleStunNatDiscovery |
A |
|
The data is owned by the called function. |