Ignore:
Timestamp:
Apr 12, 2008, 12:29:49 AM (14 years ago)
Author:
charles
Message:

#857: DSCP support for Transmission

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r5290 r5588  
    8080 **********************************************************************/
    8181
     82int
     83tr_netSetTOS( int s, int tos )
     84{
     85#ifdef IP_TOS
     86    return setsockopt( s, IPPROTO_IP, IP_TOS, (char*)&tos, sizeof( tos ) );
     87#else
     88    return 0;
     89#endif
     90}
     91
    8292static int
    8393makeSocketNonBlocking( int fd )
Note: See TracChangeset for help on using the changeset viewer.