mnServicePortExist

This command is used to determine if a service port exists.

For more information on profiles see “Firewall Profiles”.

mnFindServicePort can be used to determine the ID of a service port. This should be done only after confirming that it exists using this command.

Parameters

unsigned int ProfileID: This is the ID of the profile that the command should use.

unsigned int ServiceID: This is the ID of the service that the command should use.

long PortNumber: This is the number of the port to find.

int Protocol: This is the protocol of the port to find.

17: UDP

6: TCP

Returns (Integer)

1 if the service port exists.

0 if the service port does not exist.

-1 if an error occurred.

Present in

DBP

C++

.Net




This page is in the following sections:
(2) Firewall Services
(1) Windows Firewall
(0) DarkNet Help