Ignore:
Timestamp:
Apr 22, 2006, 5:12:59 PM (16 years ago)
Author:
titer
Message:

Code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.h

    r164 r236  
    2121 *****************************************************************************/
    2222
     23/***********************************************************************
     24 * DNS resolution
     25 **********************************************************************/
     26
     27/* Synchronous version: only works with character strings representing
     28   numbers expressed in the Internet standard `.' notation */
     29int tr_netResolve( char *, struct in_addr * );
     30
     31/* Asynchronous version */
    2332#define TR_RESOLVE_WAIT  0
    2433#define TR_RESOLVE_ERROR 1
     
    2938void           tr_netResolveClose( tr_resolve_t * );
    3039
    31 int  tr_netResolve ( char *, struct in_addr * );
     40
     41/***********************************************************************
     42 * TCP sockets
     43 **********************************************************************/
    3244int  tr_netOpen    ( struct in_addr addr, in_port_t port );
    3345int  tr_netBind    ( int );
     
    3951int  tr_netSend    ( int s, uint8_t * buf, int size );
    4052int  tr_netRecv    ( int s, uint8_t * buf, int size );
     53
Note: See TracChangeset for help on using the changeset viewer.