resmon
resmon copied to clipboard
Fix file handle comparison and timeouts processing
The module as it is return "connection successful" when connection timeouts. Also, '==' can not compare file handles. We can use fileno() function to compare numerically file numbers.