Ignore:
Timestamp:
Apr 15, 2014 8:46:18 AM (8 years ago)
Author:
bennylp
Message:

Closed #1760: added pjsip_tcp_transport_get_socket() API to get the raw socket handle from SIP TCP transport

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_tcp.c

    r4725 r4817  
    14791479 
    14801480 
     1481PJ_DEF(pj_sock_t) pjsip_tcp_transport_get_socket(pjsip_transport *transport) 
     1482{ 
     1483    struct tcp_transport *tcp = (struct tcp_transport*)transport; 
     1484 
     1485    PJ_ASSERT_RETURN(transport, PJ_INVALID_SOCKET); 
     1486    return tcp->sock; 
     1487} 
     1488 
     1489 
    14811490#endif  /* PJ_HAS_TCP */ 
    14821491 
Note: See TracChangeset for help on using the changeset viewer.