Go to the documentation of this file.
14 #ifndef GRPC_EVENT_ENGINE_PORT_H
15 #define GRPC_EVENT_ENGINE_PORT_H
22 #elif defined(GPR_ANDROID) || defined(GPR_LINUX) || defined(GPR_APPLE) || \
23 defined(GPR_FREEBSD) || defined(GPR_OPENBSD) || defined(GPR_SOLARIS) || \
24 defined(GPR_AIX) || defined(GPR_NACL) || defined(GPR_FUCHSIA) || \
25 defined(GRPC_POSIX_SOCKET)
26 #define GRPC_EVENT_ENGINE_POSIX
27 #include <arpa/inet.h>
29 #include <netinet/in.h>
30 #include <sys/socket.h>
32 #elif defined(GPR_WINDOWS)
38 #error UNKNOWN PLATFORM