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

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

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


Revision 1.1 - (show annotations) (download) (as text)
Tue Jan 8 00:09:09 2002 UTC (18 years, 3 months ago) by stdarg
Branch: MAIN
File MIME type: text/x-csrc
Err, I don't know if I already added these files or not, so I'll add them again.

1 #ifndef MY_SOCKET_H
2 #define MY_SOCKET_H
3
4 #define SOCKET_CLIENT 1
5 #define SOCKET_SERVER 2
6 #define SOCKET_NONBLOCK 4
7 #define SOCKET_TCP 8
8 #define SOCKET_UDP 16
9
10 int socket_create(char *ipaddr, int port, int flags);
11 int socket_set_nonblock(int desc, int value);
12
13 #endif

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23