This function returns the port which corresponds to service for the specified protocol as per /etc/services.
Deze functie kan statisch worden aangeroepen.
The port number is retrieved from the machine where Net_Portscan is executed, not from the remote host, which you possibly used in Net_Portscan::checkPort().