Ignore:
Timestamp:
Jul 30, 2007, 6:04:10 PM (14 years ago)
Author:
charles
Message:

add portability wrapper for in_port_t...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.h

    r2552 r2555  
    4747#define tr_netOpenUDP( addr, port, priority ) \
    4848    tr_netOpen( (addr), (port), SOCK_DGRAM, (priority) )
    49 int  tr_netOpen    ( const struct in_addr * addr, in_port_t port, int type,
     49int  tr_netOpen    ( const struct in_addr * addr, tr_port_t port, int type,
    5050                     int priority );
    5151int  tr_netMcastOpen( int port, const struct in_addr * addr );
     
    5353#define tr_netBindUDP( port ) tr_netBind( (port), SOCK_DGRAM )
    5454int  tr_netBind    ( int port, int type );
    55 int  tr_netAccept  ( int s, struct in_addr *, in_port_t * );
     55int  tr_netAccept  ( int s, struct in_addr *, tr_port_t * );
    5656void tr_netClose   ( int s );
    5757
Note: See TracChangeset for help on using the changeset viewer.