Terminates the specified ports, port ranges and process IDs.
Returns processes IDs used by the specified ports and port ranges.