powercat
powercat copied to clipboard
Detecting Errors?
Maybe I'm missing something, but there appears to be no way to detect connection errors - no exception/error is thrown/written, and $?
evaluates to True
in the following situations:
- specified host doesn't exist (timeout on connection)
- connection rejected