Changeset 261
- Timestamp:
- Mar 1, 2006 11:36:30 PM (19 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/build/pjsip_simple.dsp
r198 r261 42 42 # PROP Target_Dir "" 43 43 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c 44 # ADD CPP /nologo /MD /W 3/GX /O2 /I "../include" /I "../../pjlib-util/include" /I "../../pjlib/include" /D "NDEBUG" /D PJ_WIN32=1 /D PJ_M_I386=1 /D "WIN32" /D "_MBCS" /D "_LIB" /YX /FD /c44 # ADD CPP /nologo /MD /W4 /GX /O2 /I "../include" /I "../../pjlib-util/include" /I "../../pjlib/include" /D "NDEBUG" /D PJ_WIN32=1 /D PJ_M_I386=1 /D "WIN32" /D "_MBCS" /D "_LIB" /YX /FD /c 45 45 # ADD BASE RSC /l 0x409 /d "NDEBUG" 46 46 # ADD RSC /l 0x409 /d "NDEBUG" … … 65 65 # PROP Target_Dir "" 66 66 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c 67 # ADD CPP /nologo /MTd /W 3/Gm /GX /ZI /Od /I "../include" /I "../../pjlib-util/include" /I "../../pjlib/include" /D "_DEBUG" /D PJ_WIN32=1 /D PJ_M_I386=1 /D "WIN32" /D "_MBCS" /D "_LIB" /FR /YX /FD /GZ /c67 # ADD CPP /nologo /MTd /W4 /Gm /GX /ZI /Od /I "../include" /I "../../pjlib-util/include" /I "../../pjlib/include" /D "_DEBUG" /D PJ_WIN32=1 /D PJ_M_I386=1 /D "WIN32" /D "_MBCS" /D "_LIB" /FR /YX /FD /GZ /c 68 68 # ADD BASE RSC /l 0x409 /d "_DEBUG" 69 69 # ADD RSC /l 0x409 /d "_DEBUG" -
pjproject/trunk/pjsip/src/pjsip/sip_transport_udp.c
r260 r261 33 33 34 34 /** 35 * These are the values for socket send and receive buffer sizes,35 * These are the target values for socket send and receive buffer sizes, 36 36 * respectively. They will be applied to UDP socket with setsockopt(). 37 * When transport failed to set these size, it will decrease it until 38 * sufficiently large number has been successfully set. 39 * 40 * The buffer size is important, especially in WinXP/2000 machines. 41 * Basicly the lower the size, the more packets will be lost (dropped?) 42 * when we're sending (receiving?) packets in large volumes. 43 * 44 * The figure here is taken based on my experiment on WinXP/2000 machine, 45 * and with this value, the rate of dropped packet is about 8% when 46 * sending 1800 requests simultaneously (percentage taken as average 47 * after 50K requests or so). 48 * 49 * More experiments are needed probably. 37 50 */ 38 51 #ifndef PJSIP_UDP_SO_SNDBUF_SIZE 39 # define PJSIP_UDP_SO_SNDBUF_SIZE ( 4*1024*1024)52 # define PJSIP_UDP_SO_SNDBUF_SIZE (24*1024*1024) 40 53 #endif 41 54 42 55 #ifndef PJSIP_UDP_SO_RCVBUF_SIZE 43 # define PJSIP_UDP_SO_RCVBUF_SIZE ( 4*1024*1024)56 # define PJSIP_UDP_SO_RCVBUF_SIZE (24*1024*1024) 44 57 #endif 45 58
Note: See TracChangeset
for help on using the changeset viewer.