You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Rationale for select() right after connect()? If the socket is selectable, then it wasn't made non-blocking. (see line 162) connect blocks until the connection is made or an error occurs.
A select() is used after connect() to provide application-controlled
timeout on the connection initiation.
This just adds some comments to describe why this is done. It also
adds a debug statement if the connect fails for a reason other than
EINPROGRESS.
Is your feature request related to a problem? Please describe.
Rationale for select() right after connect()? If the socket is selectable, then it wasn't made non-blocking. (see line 162) connect blocks until the connection is made or an error occurs.
osal/src/os/portable/os-impl-bsd-sockets.c
Line 283 in ead5723
Describe the solution you'd like
Justify (add comment) or remove.
Describe alternatives you've considered
None
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC, OSAL code review
The text was updated successfully, but these errors were encountered: