public PortScan setPort(int port) {
        ports.clear();
        validatePort(port);
        ports.add(port);
        return this;
    }
Scan the ports to scan

@param port - the port to scan
@return this object to allow chaining
library/src/main/java/com/stealthcopter/networktools/PortScan.java