summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsip/sip_transport_tcp.c
AgeCommit message (Collapse)Author
2007-02-19Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with ↵Benny Prijono
2007 in copyright notice in all sources git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26Fixed ticket #42: duplicate hash entry when TCP/TLS connection is created ↵Benny Prijono
while previous one is shutting down git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@866 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-19Fixed minor memory leak in SIP TCP transportBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@808 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-26Added support for specifying IP address in PJSUA-LIB/pjsua.Benny Prijono
This option can be used for example to select the IP interface of SIP/RTP/RTCP transports, or to specify the public IP address of NAT/router in case port forwarding is used. For SIP transports, this feature works for both UDP and TCP transports. Changes: - added public_ip field in pjsua_transport_config, and change SIP and media transport creation to consider this option. - added --ip-addr option in pjsua - added pjsip_tcp_transport_start2() which allows specifying alternate TCP published address when creating TCP transports. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@742 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by ↵Benny Prijono
adding a new API pj_gethostip() to resolve the default local IP address of local host. This new function will work even when local hostname resolution is not set correctly, by detecting the default IP interface in the system. Also fix compile warnings in iLBC. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 ↵Benny Prijono
chars (from 16), and check all those sprintf's especially the ones with "%p" format. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@635 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18Fixed several bugs related to TCP:Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@610 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-16Fixed crash in SIP TCP transport deinitialization, and set pjsip-perf to ↵Benny Prijono
handle INVITE request to non-standard URL call-statefully git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@605 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10Fixed several bugs with TCP transport: (1) Handle crash in transaction, ↵Benny Prijono
possibly because of transport error, (2) TCP accept() does not work correctly with IOCP because IOCP needs different buffer each time WSAAcceptEx() is called, (3) increase verbosity to warning on transport related errors in transaction git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@600 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03Change all pj_memset to pj_bzero(), where applicableBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@582 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28Major improvements in PJSIP to support TCP. The changes fall into these ↵Benny Prijono
categories: (1) the TCP transport implementation itself (*.[hc]), (2) bug-fix in SIP transaction when using reliable transports, (3) support for TCP transport in PJSUA-LIB/PJSUA, and (4) changes in PJSIP-TEST to support TCP testing. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@563 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-26Finished initial SIP TCP transport supportBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@554 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-23Renamed pjsip_transport_unregister() to pjsip_transport_destroy(), also ↵Benny Prijono
initial implementation of TCP transport git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@550 74dad513-b988-da41-8d7b-12977e46ad98