Changeset 1785 for pjproject/trunk
- Timestamp:
- Feb 8, 2008 9:43:30 AM (17 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/stun_simple_client.c
r1596 r1785 145 145 } 146 146 147 select_rc = pj_sock_select( FD_SETSIZE, &r, NULL, NULL, &timeout);147 select_rc = pj_sock_select(PJ_IOQUEUE_MAX_HANDLES, &r, NULL, NULL, &timeout); 148 148 if (select_rc < 1) 149 149 continue; -
pjproject/trunk/pjlib/src/pj/sock_select_symbian.cpp
r1235 r1785 27 27 { 28 28 unsigned count; 29 CPjSocket *sock[ FD_SETSIZE];29 CPjSocket *sock[PJ_IOQUEUE_MAX_HANDLES]; 30 30 }; 31 31 … … 42 42 symbian_fd_set *fds = (symbian_fd_set *)fdsetp; 43 43 44 PJ_ASSERT_ON_FAIL(fds->count < FD_SETSIZE, return);44 PJ_ASSERT_ON_FAIL(fds->count < PJ_IOQUEUE_MAX_HANDLES, return); 45 45 fds->sock[fds->count++] = (CPjSocket*)fd; 46 46 } -
pjproject/trunk/pjlib/src/pjlib-test/select.c
r1405 r1785 75 75 timeout.msec = 0; 76 76 77 n = pj_sock_select( FD_SETSIZE, &fds[0], &fds[1], &fds[2],77 n = pj_sock_select(PJ_IOQUEUE_MAX_HANDLES, &fds[0], &fds[1], &fds[2], 78 78 &timeout); 79 79 if (n < 0)
Note: See TracChangeset
for help on using the changeset viewer.