_UPNP_IsPortUsed Scol 5.x or above required
Checks if a port is already used on the Internet Gateway Device.
Prototype :
fun [I I] I
- I : Port number.
- I : Protocol (UPNP_UDP or UPNP_TCP).
Return : I 1 if port is already defined, 0 if it's free to use.
Error :
- EOK if no error.
- ERANGE if the port number is out of range.
- EFLAG if the protocole is incorrect.
- EPLATFORM if the current platform is not still supported.
- EVM if a memory error occurs. The VM will exit and more informations
could be found in the log file (if activated in the debug mode level).
See also :
Example :
Note
Warning : this function is defined on MS Windows Scol version only !