Changeset 236 for trunk/libtransmission/net.h
- Timestamp:
- Apr 22, 2006, 5:12:59 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/net.h
r164 r236 21 21 *****************************************************************************/ 22 22 23 /*********************************************************************** 24 * DNS resolution 25 **********************************************************************/ 26 27 /* Synchronous version: only works with character strings representing 28 numbers expressed in the Internet standard `.' notation */ 29 int tr_netResolve( char *, struct in_addr * ); 30 31 /* Asynchronous version */ 23 32 #define TR_RESOLVE_WAIT 0 24 33 #define TR_RESOLVE_ERROR 1 … … 29 38 void tr_netResolveClose( tr_resolve_t * ); 30 39 31 int tr_netResolve ( char *, struct in_addr * ); 40 41 /*********************************************************************** 42 * TCP sockets 43 **********************************************************************/ 32 44 int tr_netOpen ( struct in_addr addr, in_port_t port ); 33 45 int tr_netBind ( int ); … … 39 51 int tr_netSend ( int s, uint8_t * buf, int size ); 40 52 int tr_netRecv ( int s, uint8_t * buf, int size ); 53
Note: See TracChangeset
for help on using the changeset viewer.