Changeset 2966 for pjproject/trunk/pjlib/src/pj/sock_bsd.c
- Timestamp:
- Oct 25, 2009 9:02:07 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/sock_bsd.c
r2964 r2966 64 64 const pj_uint16_t PJ_SOL_IP = IPPROTO_IP; 65 65 #else 66 const pj_uint16_t PJ_SOL_IP = 0 xFFFF;66 const pj_uint16_t PJ_SOL_IP = 0; 67 67 #endif /* SOL_IP */ 68 68 … … 74 74 const pj_uint16_t PJ_SOL_TCP = IPPROTO_TCP; 75 75 #else 76 const pj_uint16_t PJ_SOL_TCP = 0xFFFF;76 const pj_uint16_t PJ_SOL_TCP = 6; 77 77 #endif /* SOL_TCP */ 78 78 … … 84 84 const pj_uint16_t PJ_SOL_UDP = IPPROTO_UDP; 85 85 #else 86 const pj_uint16_t PJ_SOL_UDP = 0xFFFF;86 const pj_uint16_t PJ_SOL_UDP = 17; 87 87 #endif /* SOL_UDP */ 88 88 … … 96 96 # endif 97 97 #else 98 const pj_uint16_t PJ_SOL_IPV6 = 0xFFFF;98 const pj_uint16_t PJ_SOL_IPV6 = 41; 99 99 #endif /* SOL_IPV6 */ 100 100 … … 136 136 const pj_uint16_t PJ_TCP_NODELAY= TCP_NODELAY; 137 137 const pj_uint16_t PJ_SO_REUSEADDR= SO_REUSEADDR; 138 #if defined(SO_PRIORITY) 139 const pj_uint16_t PJ_SO_PRIORITY = SO_PRIORITY; 140 #else 141 /* This is from Linux, YMMV */ 142 const pj_uint16_t PJ_SO_PRIORITY = 12; 143 #endif 138 144 139 145 /* Multicasting is not supported e.g. in PocketPC 2003 SDK */
Note: See TracChangeset
for help on using the changeset viewer.