public WakeOnLan setPort(int port) {
        if (port <= 0 || port > 65535) throw new IllegalArgumentException("Invalid port " + port);
        this.port = port;
        return this;
    }
Sets the port to send the packet to, default is 9

@param port - the port for the wol packet
@return this object to allow chaining
library/src/main/java/com/stealthcopter/networktools/WakeOnLan.java