FC_CloseIncomingFirewallPort - General Information
Type: |
Function |
Available as of: |
SystemInterface_V1.62.4.1 |
Versions: |
Current version |
Close incoming firewall port during runtime.
The function can be used to close the incoming firewall port during runtime.
Input |
Data type |
Description |
---|---|---|
i_etProtocol |
Communication protocol |
|
i_uiPort |
UINT |
Communication port |
i_sSource |
STRING[255] |
Source address of incoming packets. Supported values are any, me, all valid IP addresses and ranges. It is a good practice to use the value any. |
i_sDestination |
STRING[255] |
Destination address of incoming packets. Supported values are any, me, all valid IP addresses and ranges. It is a good practice to use the value me. |
Data type |
Description |
---|---|
DINT |
0: The incoming port rule was successfully applied. -1: Input value i_uiPort must be non-zero. -2: Error detected. Unable to apply firewall rule. |