SOCKET-CONNECTED-P should check that the socket is in the TCP state ESTABLISHED
Bug #719683 reported by
Greg Pfeil
on 2011-02-15
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| IOLib |
Wishlist
|
Unassigned |
Bug Description
On some systems (notably OS X) getpeername(2) returns EINVAL when the socket has been disconnected (as in http://
Stelian Ionescu (sionescu) wrote : | #1 |
summary: |
- SOCKET-CONNECTED-P crashes on socket that's been shut down + SOCKET-CONNECTED-P should check that the socket is in the TCP state + ESTABLISHED |
Changed in iolib: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Ignore EINVAL for the moment, try to find a better way in the future