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

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -