Sets the ports to be 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 kaveSetMonitorPorts (
const unsigned short *ports,
unsigned short portsCount);
Parameters
The kaveSetMonitorPorts function has the following parameters.
kaveSetMonitorPorts function parameters
Name |
Type |
Description |
|---|---|---|
|
In |
Set of ports that must be monitored by traffic monitoring components. 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 kaveSetMonitorPorts function.
kaveSetMonitorPorts 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