Changeset 5152 for pjproject/trunk/pjsip/include/pjsip/sip_config.h
- Timestamp:
- Aug 7, 2015 9:00:52 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_config.h
r5090 r5152 671 671 672 672 /** 673 * Specify whether TCP transport should skip creating the listener. 674 * Not having a listener means that application will not be able to 675 * function in server mode and accept incoming connections. 676 * 677 * When enabling this setting, if you use PJSUA, it is recommended to set 678 * pjsua_acc_config.contact_use_src_port to PJ_TRUE. 679 * Warning: If contact_use_src_port is disabled or failed (because it's 680 * unsupported in some platforms or automatically turned off due to 681 * DNS server resolution), Contact header will be generated from 682 * pj_getipinterface()/pj_gethostip(), but the address will not be 683 * able to accept connections. 684 * 685 * Default is FALSE (listener will be created). 686 */ 687 #ifndef PJSIP_TCP_TRANSPORT_DONT_CREATE_LISTENER 688 # define PJSIP_TCP_TRANSPORT_DONT_CREATE_LISTENER 0 689 #endif 690 691 692 /** 693 * Specify whether TLS transport should skip creating the listener. 694 * Not having a listener means that application will not be able to 695 * function in server mode and accept incoming connections. 696 * 697 * When enabling this setting, if you use PJSUA, it is recommended to set 698 * pjsua_acc_config.contact_use_src_port to PJ_TRUE. 699 * Warning: If contact_use_src_port is disabled or failed (because it's 700 * unsupported in some platforms or automatically turned off due to 701 * DNS server resolution), Contact header will be generated from 702 * pj_getipinterface()/pj_gethostip(), but the address will not be 703 * able to accept connections. 704 * 705 * Default is FALSE (listener will be created). 706 */ 707 #ifndef PJSIP_TLS_TRANSPORT_DONT_CREATE_LISTENER 708 # define PJSIP_TLS_TRANSPORT_DONT_CREATE_LISTENER 0 709 #endif 710 711 712 /** 673 713 * Set the interval to send keep-alive packet for TCP transports. 674 714 * If the value is zero, keep-alive will be disabled for TCP.
Note: See TracChangeset
for help on using the changeset viewer.