SOCKET-CONNECTED-P: ignore EINVAL as well
commit775eda65d53d62afdd53af19c061309a3d3b8ebc
authorStelian Ionescu <sionescu@cddr.org>
Tue, 15 Feb 2011 23:51:38 +0000 (16 00:51 +0100)
committerStelian Ionescu <sionescu@cddr.org>
Tue, 15 Feb 2011 23:52:30 +0000 (16 00:52 +0100)
tree6b2459a51b2208d87f762b39fa7881a23acd5d4c
parent9c38857822d55c73dd63a86013e5a9ebd9e35517
SOCKET-CONNECTED-P: ignore EINVAL as well

On OSX, getpeername(2) returns EINVAL on disconnected sockets, so
ignore EINVAL too
Thanks to Greg Pfeil for reporting this problem
src/sockets/socket-methods.lisp