Changeset 563 for pjproject/trunk/pjsip/include/pjsip/sip_transport_tcp.h
- Timestamp:
- Jun 28, 2006 4:46:49 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_transport_tcp.h
r550 r563 39 39 40 40 /** 41 * Create, register, and start TCP transport. 41 * The TCP incoming connection backlog number. 42 * Default: 5 43 */ 44 #ifndef PJSIP_TCP_TRANSPORT_BACKLOG 45 # define PJSIP_TCP_TRANSPORT_BACKLOG 5 46 #endif 47 48 49 /** 50 * Register support for SIP TCP transport by creating TCP listener on 51 * the specified address and port. This function will create an 52 * instance of SIP TCP transport factory and register it to the 53 * transport manager. 42 54 * 43 55 * @param endpt The SIP endpoint. 44 * @param local Local address to bind. 45 * @param async_cnt Number of simultaneous async operations. 56 * @param local Optional local address to bind, or specify the 57 * address to bind the server socket to. Both IP 58 * interface address and port fields are optional. 59 * If IP interface address is not specified, socket 60 * will be bound to PJ_INADDR_ANY. If port is not 61 * specified, socket will be bound to any port 62 * selected by the operating system. 63 * @param async_cnt Number of simultaneous asynchronous accept() 64 * operations to be supported. It is recommended that 65 * the number here corresponds to the number of 66 * processors in the system (or the number of SIP 67 * worker threads). 68 * @param p_factory Optional pointer to receive the instance of the 69 * SIP TCP transport factory just created. 46 70 * 47 71 * @return PJ_SUCCESS when the transport has been successfully … … 51 75 PJ_DECL(pj_status_t) pjsip_tcp_transport_start(pjsip_endpoint *endpt, 52 76 const pj_sockaddr_in *local, 53 unsigned async_cnt); 77 unsigned async_cnt, 78 pjsip_tpfactory **p_factory); 54 79 55 80
Note: See TracChangeset
for help on using the changeset viewer.