Date: Sun, 27 Dec 2020 23:03:17 +0530 From: Rahul Bharadwaj <rahulbharadwajpromos@gmail.com> To: freebsd-questions@freebsd.org Subject: =?UTF-8?Q?What_does_=E2=80=9CNo_anode=E2=80=9D_mean_in_errno_55_when_socke?= =?UTF-8?Q?t_connection_fails=3F?= Message-ID: <CADotuvv-csH5L2E5OGkLTNOVJ2KYeU6q9Fp_n1Y%2BFwfiiJCPQA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I was doing a few performance tests on a local server and once in a while I hit an error where opening a socket connection fails. i.e. considering the simplest code: #include <errno.h> #include <sys/socket.h> int main() { /* code to create socket object */ int ret = connect(sock, (struct sockaddr *)&serv_addr, sizeof(serv_addr)); if (ret < 0) { fprintf(stderr, "connect() failed with: %d\n", errno); // <---- *get errno as 55* exit(1); } /* other code */ } There is no explanation for this error number "55". In every place, the only mention is "No anode". There is no mention of what "anode" means and what "No anode" specifically means. Can someone please help me with what this errno means or point me to some documentation explaining the same. Thanks and regards, Rahul.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADotuvv-csH5L2E5OGkLTNOVJ2KYeU6q9Fp_n1Y%2BFwfiiJCPQA>