nds2-client - ClientDeveloper  0.16.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
daqc_net.h
Go to the documentation of this file.
1 /* -*- tab-width:8 c-basic-offset:4 indent-tabs-mode:nil -*- */
2 /* set vi: ts=8:softtabstop=4,shiftwidth=4,expandtab */
3 
4 #ifndef DAQC_NET_H
5 #define DAQC_NET_H
6 
7 #include <sys/types.h>
8 #if HAVE_SYS_SOCKET_H
9 #include <sys/socket.h>
10 #else
11 #if HAVE_WS2DEF_H
12 #include <Ws2def.h>
13 #else
14 #if HAVE_WINSOCK2_H
15 #include <Winsock2.h>
16 #endif /* HAVE_WINSOCK2_H */
17 #endif /* HAVE_WS2DEF_H */
18 #endif /* HAVE_SYS_SOCKET_H */
19 #if HAVE_NETINET_IN_H
20 #include <netinet/in.h>
21 #endif /* HAVE_NETINET_IN_H */
22 #if HAVE_ARPA_INET_H
23 #include <arpa/inet.h>
24 #endif /* HAVE_ARPA_INET_H */
25 #if HAVE_NETDB_H
26 #include <netdb.h>
27 #endif /* HAVE_NETDB_H */
28 
29 #endif /* DAQC_NET_H */