picotcp-bsd currently indicates EAGAIN after a connect() for a nonblocking socket is initiated, which is not compatible with some posix libraries. It should instead indicate EINPROGRESS.
From POSIX Programmer's Manual:
EINPROGRESS
O_NONBLOCK is set for the file descriptor for the socket and the connection cannot be immediately established; the connec‐
tion shall be established asynchronously.
picotcp-bsd
currently indicatesEAGAIN
after aconnect()
for a nonblocking socket is initiated, which is not compatible with some posix libraries. It should instead indicateEINPROGRESS
.From
POSIX Programmer's Manual
:See https://github.com/tass-belgium/picotcp/pull/486 for the PR which adds the error code to picoTCP headers.