DiscoveryPortScanner - getAllServicePorts()

Gets a list of all service ports.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Array A list of all service ports

var dscps = new DiscoveryPortScanner();
gs.print(dscps.getAllServicePorts());

Output: 53,137,22,135,80,161,515,9100,548,5060