Changeset 3480 for pjproject/trunk/pjlib/src/pj/sock_bsd.c
- Timestamp:
- Mar 23, 2011 10:23:31 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/sock_bsd.c
r3478 r3480 550 550 return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); 551 551 else { 552 pj_int32_t val = 1; 553 if (type == pj_SOCK_STREAM()) { 554 pj_sock_setsockopt(sock, pj_SOL_SOCKET(), pj_SO_NOSIGPIPE(), 555 &val, sizeof(val)); 556 } 552 557 #if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 553 558 PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 554 pj_int32_t val = 1;555 559 if (type == pj_SOCK_DGRAM()) { 556 560 pj_sock_setsockopt(*sock, pj_SOL_SOCKET(), SO_NOSIGPIPE,
Note: See TracChangeset
for help on using the changeset viewer.