/[cvs]/eggdrop1.9/testcode/my_socket.h
ViewVC logotype

Annotation of /eggdrop1.9/testcode/my_socket.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download) (as text)
Thu Apr 25 04:19:54 2002 UTC (17 years, 11 months ago) by stdarg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +5 -4 lines
File MIME type: text/x-csrc
* sclient.c - test program to telnet using a proxy
* http.c/base64.c - http anonymous and authenticated proxies
* socks5.c - socks5 proxy with support for username/password authentication, ipv4, ipv6, and remote hostname resolution
* socks4.c socks4 proxy (no authentication)

1 stdarg 1.1 #ifndef MY_SOCKET_H
2     #define MY_SOCKET_H
3    
4     #define SOCKET_CLIENT 1
5     #define SOCKET_SERVER 2
6 stdarg 1.2 #define SOCKET_BIND 4
7     #define SOCKET_NONBLOCK 8
8     #define SOCKET_TCP 16
9     #define SOCKET_UDP 32
10 stdarg 1.1
11 stdarg 1.2 int socket_create(char *dest_ip, int dest_port, char *src_ip, int src_port, int flags);
12 stdarg 1.1 int socket_set_nonblock(int desc, int value);
13    
14     #endif

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23