Ignore:
Timestamp:
Feb 1, 2007 12:33:12 AM (17 years ago)
Author:
bennylp
Message:

Implement ticket #83: socket TOS abstraction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/sock.h

    r860 r920  
    9393extern const pj_uint16_t PJ_SOL_UDP;    /**< UDP level.     */ 
    9494extern const pj_uint16_t PJ_SOL_IPV6;   /**< IP version 6   */ 
     95 
     96 
     97/* IP_TOS  
     98 * 
     99 * Note: 
     100 *  TOS CURRENTLY DOES NOT WORK IN Windows 2000 and above! 
     101 *  See http://support.microsoft.com/kb/248611 
     102 */ 
     103extern const pj_uint16_t PJ_IP_TOS;     /**< IP_TOS optname in setsockopt() */ 
     104 
     105 
     106/* 
     107 * IP TOS related constats. 
     108 * 
     109 * Note: 
     110 *  TOS CURRENTLY DOES NOT WORK IN Windows 2000 and above! 
     111 *  See http://support.microsoft.com/kb/248611 
     112 */ 
     113extern const pj_uint16_t PJ_IPTOS_LOWDELAY;     /**< Minimize  delays       */ 
     114extern const pj_uint16_t PJ_IPTOS_THROUGHPUT;   /**< Optimize throughput    */ 
     115extern const pj_uint16_t PJ_IPTOS_RELIABILITY;  /**< Optimize for reliability*/ 
     116extern const pj_uint16_t PJ_IPTOS_MINCOST;      /**< "filler data" where slow  
     117                                                 transmission does't matter */ 
     118 
    95119 
    96120/** 
Note: See TracChangeset for help on using the changeset viewer.