Checks if the given port is currently running (forwarded).
isRunningPort(port)
port (number) – Port to check.
number – 1 if running, 0 if not.
// example const running = sdk.isRunningPort(60000) === 1; console.log("Running:", running);
Last updated 1 year ago
Was this helpful?