Changeset 4538 for pjproject/trunk/pjlib/include/pj/sock.h
- Timestamp:
- Jun 19, 2013 9:06:55 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/sock.h
r4343 r4538 1308 1308 1309 1309 /** 1310 * Helper function to set socket buffer size using #pj_sock_setsockopt() 1311 * with capability to auto retry with lower buffer setting value until 1312 * the highest possible value is successfully set. 1313 * 1314 * @param sockfd The socket descriptor. 1315 * @param optname The option name, valid values are pj_SO_RCVBUF() 1316 * and pj_SO_SNDBUF(). 1317 * @param auto_retry Option whether auto retry with lower value is 1318 * enabled. 1319 * @param buf_size On input, specify the prefered buffer size setting, 1320 * on output, the buffer size setting applied. 1321 * 1322 * @return PJ_SUCCESS or the status code. 1323 */ 1324 PJ_DECL(pj_status_t) pj_sock_setsockopt_sobuf( pj_sock_t sockfd, 1325 pj_uint16_t optname, 1326 pj_bool_t auto_retry, 1327 unsigned *buf_size); 1328 1329 1330 /** 1310 1331 * Receives data stream or message coming to the specified socket. 1311 1332 *
Note: See TracChangeset
for help on using the changeset viewer.