0
|
1 #ifndef BARPA_INET_H
|
|
2 #define BARPA_INET_H
|
|
3
|
878
|
4 #include "config.h"
|
0
|
5
|
|
6 #ifdef CONFIG_BEOS_NETSERVER
|
|
7
|
|
8 # include <socket.h>
|
|
9 int inet_aton (const char * str, struct in_addr * add);
|
|
10 # define PF_INET AF_INET
|
|
11 # define SO_SNDBUF 0x40000001
|
|
12
|
|
13 /* fake */
|
|
14 struct ip_mreq {
|
|
15 struct in_addr imr_multiaddr; /* IP multicast address of group */
|
|
16 struct in_addr imr_interface; /* local IP address of interface */
|
|
17 };
|
|
18
|
182
|
19 #include <netdb.h>
|
|
20
|
0
|
21 #else
|
|
22 # include <arpa/inet.h>
|
|
23 #endif
|
|
24
|
|
25 #endif /* BARPA_INET_H */
|