Up |
uPnP MS Windows only, at this time
This API allows you to discover UPnP compliant Internet Gateway Devices (Routers/Boxes) on the network and dynamically manage their ports.
Requirements:
- Windows XP or above.
- UPnP compliant Internet Gateway Device.
- TCP port 2869 or UDP port 1900 being opened on Firewall if any.
Note: All functions are synchronous and wait response from the device. During
that time, the application is frozen.
_UPNP_Connect is the worst freezing function (3-5 seconds), the others work much
faster if the device responds immediately (which is not always the case).
- _UPNP_Connect
fun [Chn] I - _UPNP_Disconnect
fun [] I - _UPNP_OpenPort
fun [S S I I I] I - _UPNP_ClosePort
fun [I I] I - _UPNP_IsPortUsed
fun [I I] I - _UPNP_GetExternalIP
fun [] S