git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57603
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
case ENOTSOCK:
return wxSOCKET_INVSOCK;
case ENOTSOCK:
return wxSOCKET_INVSOCK;
+ // unfortunately EAGAIN only has the "would block" meaning for read(),
+ // not for connect() for which it means something rather different but
+ // we can't distinguish between these two situations currently...
+ case EAGAIN:
case EINPROGRESS:
return wxSOCKET_WOULDBLOCK;
case EINPROGRESS:
return wxSOCKET_WOULDBLOCK;