Details
Description
The current implementation of GetSockOpt service for option SO_ERROR returns any previous error seen for a socket. Even errors occured during SetSockOpt or GetSockOpt services.
According to Posix standard, SO_ERROR should only return the pending socket errors. These refer to problems occuring asynchronously during socket operation. (e.g. when a connection was lost)
In addition, GetSockOpt SO_ERROR is expected to clear the last error, thus a subsequent call will not return an error anymore.
Attachments
Issue Links
- blocks
-
PSLWIP-347 Unexpected Connect or SendTo service confirmation status after any other failed services
- Closed
-
PSPNSV5-296 Upgrade LwIP based IP stack to V4.4.0.3
- Closed
- discovered
-
PSLWIP-351 Status/error callback not invoked for outgoing TCP connections
- Closed
-
PSLWIP-352 Packet Socket API returns invalid status code after failed TCP connect attempt
- Closed
- is blocked by
-
PSLWIP-351 Status/error callback not invoked for outgoing TCP connections
- Closed
- relates to
-
PSLWIP-330 SOCK_CMD_CONNECT_CNF nonzero error code is accidentially overwritten with zero
- Closed
- links to
- mentioned in
-
Page Loading...