So the network code we have in tlclient unfortunately fails to account for the fact that Windows doesn't store network errors in errno. And you cannot use strerror() to get description for the errors either. There is very little network code in tlclient, so this isn't a major issue. But if it goes wrong, then it would be helpful with the correct error code/message in the logs.