Network.STUN¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input of this shard is ignored. | Any |
||
Output ➡️ |
Table containing STUN binding result with external IP/port information. | {success: Bool external-ip: String external-port: Int error: String} |
||
Server |
No | The STUN server hostname or IP address. | stun.l.google.com |
String Var(String) |
Port |
No | The STUN server port. | 19302 |
Int Var(Int) |
Timeout |
No | Timeout in milliseconds for STUN request. | 5000 |
Int Var(Int) |
Performs STUN (Session Traversal Utilities for NAT) binding request to discover external IP and port mapping. Returns a table with 'success', 'externalIP', 'externalPort', and 'error' fields.