Checks the status of all ports in a range, returning an array of port / status pairs once complete
Added checkPortStatuses method to scan a range of ports and return th…
Thanks for the feature @nickdaugherty.
Do you happen to know why the diff is so large for the one function?
It looks like this was a line ending issue. You can use the file command to check.
When I use file on the original files, I get ASCII text. When I use it on one of the files in this PR, I get ASCII text, with CRLF line terminators.
ASCII text, with CRLF line terminators
Look at your editor's settings for something that lets you toggle between windows-style and unix-style line endings. Consider changing it to unix-style for this project, then update this PR.
I'm closing this old PR. If you would still like to pursue it, please reopen.