sockets - bind() error with errno == ENOENT? -
Can anyone help understand what is the wrong value of the ENT when the bind () socket function fails? Man page means "file does not exist" what file? I tried to call bind () with a bad file descriptor and which sets EBADF as expected, so it is not so.
This is almost certainly a bug in your code, if I think what I do, So I would say that you got a bad unix socket path in the address that you have to bind.
It is also possible that the error code is not coming from the check - check your thread protection.
Comments
Post a Comment