Ignore:
Timestamp:
Aug 17, 2016 4:29:17 AM (8 years ago)
Author:
nanang
Message:

Fixed #1953: Skip IPv6 socket in resolver on system without IPv6 support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/compat/socket.h

    r5312 r5420  
    159159#  define OSERR_ECONNRESET     WSAECONNRESET 
    160160#  define OSERR_ENOTCONN       WSAENOTCONN 
     161#  define OSERR_EAFNOSUPPORT   WSAEAFNOSUPPORT 
    161162#elif defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 
    162163#  define OSERR_EWOULDBLOCK    -1 
     
    164165#  define OSERR_ECONNRESET     -1 
    165166#  define OSERR_ENOTCONN       -1 
     167#  define OSERR_EAFNOSUPPORT   -1 
    166168#else 
    167169#  define OSERR_EWOULDBLOCK    EWOULDBLOCK 
     
    169171#  define OSERR_ECONNRESET     ECONNRESET 
    170172#  define OSERR_ENOTCONN       ENOTCONN 
     173#  define OSERR_EAFNOSUPPORT   EAFNOSUPPORT 
    171174#endif 
    172175 
Note: See TracChangeset for help on using the changeset viewer.