Check for presence of netcat command using 'which' before running test Reviewed-by: alanb
If a file descriptor cannot be obtained, use utimes() instead of futimes(). Reviewed-by: alanb