I'm connecting to a remote host as follows:
$conn = stream_socket_client("ssl://$host:$port", $e_code, $e_string, 2, STREAM_CLIENT_CONNECT, $ctx);
How should I interpret the error code?
The docs say the error code "holds the system level error number that occurred in the system-level connect() call."
I can't find any PHP constants which define these error codes.