Adds ports to the list of those that are monitored by Web Monitor and Mail Monitor.
You can specify closed ports in the list of the monitored ports.
This function is available in KAV SDK for Windows platforms.
Syntax
HRESULT kaveAddMonitorPorts (
const unsigned short *ports,
unsigned short portsCount);
Parameters
The kaveAddMonitorPorts function has the following parameters.
kaveAddMonitorPorts function parameters
Name |
Type |
Description |
|---|---|---|
|
In |
Set of ports that must be added to the list of monitored ports. The parameter is mandatory. |
|
In |
Number of ports in the The parameter is mandatory. |
Return value
The table below describes the possible return values of the kaveAddMonitorPorts function.
kaveAddMonitorPorts function return codes
Return code |
Description |
|---|---|
|
The function succeeds. |
|
Port 0 is specified in the |
|
Some ports are specified more than once in the |
|
The function failed. If logging is turned on, an error message is added to the log. |
For information about other return values, see section "Return codes".
Page top