ENOTCONN could be thrown in getpeername.