Changeset 2:2d5e843739a3 in roaraudio for include/libroar/socket.h


Ignore:
Timestamp:
06/11/08 02:41:56 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added socks4a support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/socket.h

    r0 r2  
    1616#define ROAR_SOCKET_NONBLOCK  2 
    1717 
     18#define ROAR_SOCKET_MAX_HOSTNAMELEN 64 
     19 
    1820int roar_socket_listen  (int type, char * host, int port); 
    1921int roar_socket_connect (char * host, int port); 
     
    2224int roar_socket_new_unix (void); 
    2325int roar_socket_open (int mode, int type, char * host, int port); 
     26int roar_socket_open_proxy (int mode, int type, char * host, int port, char * proxy_type); 
    2427 
    2528int roar_socket_nonblock(int fh, int state); 
     29 
     30int roar_socket_open_socks4a(int mode, int fh, char * host, int port); 
    2631 
    2732#endif 
Note: See TracChangeset for help on using the changeset viewer.