_UPNP_ClosePort Scol 5.x or above required
Removes a port on the Internet Gateway Device.
Prototype :
fun [I I] I
- I : Port number.
- I : Protocol.
Return : I Port number if successful, nil if it fails.
Error :
- EOK if no error.
- ERANGE if the port number is out of range.
- EFLAG if the protocole is incorrect.
- ECLOSED if the connection can not be closed.
- EPLATFORM if the current platform is not yet 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 !