summaryrefslogtreecommitdiff
path: root/pjlib/src/pj/sock_common.c
AgeCommit message (Collapse)Author
2014-08-26Misc (re #1751): Avoid confusion caused by double variable declaration. ↵Riza Sulistyo
(Thanks Itay Bianco for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4905 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-23Misc (re #1751): Fixed AF_INET should be PJ_AF_INET in sock_common.c (thanks ↵Nanang Izzuddin
Lars Helgeson for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4850 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19Close #1681:Nanang Izzuddin
- Added compile-time settings PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE and PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE. The default values are both 64 KB when PJMEDIA_HAS_VIDEO is set, otherwise just zero (socket buffer size uses OS default). The settings will be applied to media transport UDP and ICE. - Also added run-time settings so_sndbuf_size and so_rcvbuf_size into ICE stream transport, STUN socket, and TURN socket. Default values are all zero. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4538 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-07Close #1602: configurable local port range for ICE transport.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4343 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07Fixed #1412: Account specific NAT settings: STUN, ICE, and TURNBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4218 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3557:r3832 TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Fixed #1221: Crash when SIP transport tried to write to a broken pipe.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3478 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-26Misc (re #1068): crash in pj_sockaddr_parse2() if NULL of empty string is ↵Benny Prijono
given (thanks Joe Meade for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3186 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-30More ticket #1046:Benny Prijono
- fixed the wrong priority which caused zeroconf address to end up having the same priority as a legitimate interface (thanks Karl-Fredrik Blixt Hagholm for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3133 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-27Fixed MSVC compilation warning introduced by ticket #1046Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3124 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-26Ticket #1046: Zeroconf/link-local/ActiveSync IPv4 adress 169.254.x.x may be ↵Benny Prijono
used on Windows Mobile devices (thanks Jan Boquist for the info) - add treatment for special IPv4/IPv6 addresses: loopback address and link-local address - with this treatment, link-local address will only be used if there is no other non-loopback/non-link-local IP addresses, and loopback address will only be used if there's absolutely no other IP address git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3121 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-24Fixed ticket #1040: Problem with getting the default IP interface on FreeBSD ↵Benny Prijono
due to wrong argument to connect() (thanks Roman Grachev for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3107 74dad513-b988-da41-8d7b-12977e46ad98
2009-12-29Fixed ticket #1007: Heap corruption when socket address with invalid address ↵Benny Prijono
family is given (thanks Emil Sturniolo for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3037 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25Initial commit for ticket #950: QoS support:Benny Prijono
- implementation: - PJLIB (sock_qos*.*) - added QoS support in: - SIP UDP transport, - SIP TCP transport, - media UDP transport (done in pjsua-lib), - pjnath ICE stream transport, - pjnath STUN socket, - pjnath TURN client - added QoS options in pjsua-lib: - QoS fields in pjsua_transport_config - added "--set-qos" parameter in pjsua Notes: - QoS in TLS transport is not yet implemented, waiting for #957 - build ok on VS6, VS2005 (multiple targets), Carbide, and Mingw - no run-time testing yet git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2966 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-15Ticket #972: setsockopt compatibility problems on Windows (thanks Yann and ↵Benny Prijono
John Ridges for the reports) - set PJ_SOL_IP, PJ_SOL_TCP, and PJ_SOL_UDP to IPPROTO_IP, IPPROTO_TCP, and IPPROTO_UDP respectively on Windows - also added PJ_TCP_NODELAY and PJ_SO_REUSEADDR git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2946 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17More #935: don't call pj_sockaddr_init() for PJ_AF_INET6 if IPv6 is not enabledBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2886 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12Ticket #935: new pj_sockaddr_parse2() APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2863 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04Ticket #878: New PJLIB API to parse socket address stringBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2743 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-28Ticket #800: Change in IP address selection algorithm (the pj_gethostip() ↵Benny Prijono
function): - putting in weighting mechanism to select the "best" IP to use git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2656 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23Updated copyright notice in all files to Teluu Inc., and changed the year as ↵Benny Prijono
well git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-16Ticket #629: Added IGMPv2 multicast socket options (thanks David Parker for ↵Nanang Izzuddin
the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2283 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-13pj_sockaddr_copy_addr() might raise assertion if destination address is not ↵Benny Prijono
initialized git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2207 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20Large changeset to replace all occurences of year 2007 with 2008 in the ↵Benny Prijono
copyright notice git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-09Related to r1996, do not return 0.0.0.0/8 class IP address in pj_gethostip() ↵Benny Prijono
(thanks Helmut Wolf) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1999 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-11Added pj_sockaddr_cp()Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1952 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-31Fixed IPv6/IPv4 address issue in Symbian: Symbian, at least 9.1, seems to ↵Benny Prijono
have dual stack IP, so IPv4 address can be returned as a mapped IPv6 address git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1647 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-12Disable assertion in pj_sockaddr_has_addr()Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1629 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-03More ticket #415: Added pj_sockaddr_cmp(), pj_sockaddr_copy_addr(), and ↵Benny Prijono
pj_sockaddr_print() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1613 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-02More ticket #415: Added pj_sockaddr_get_len() and pj_inet_ntop2(), and fixed ↵Benny Prijono
Symbian combilation warnings with gcce git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1608 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-01More ticket #415: more IPv6 and some reorganization of the source codesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1601 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-18Ticket #415: implement IPv6 support in PJLIBBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1585 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-20Ticket #354: build PJLIB as dynamic libraries (.DSO) in SymbianBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1405 74dad513-b988-da41-8d7b-12977e46ad98