4 #ifndef WIN32_LEAN_AND_MEAN
5 #define WIN32_LEAN_AND_MEAN
13 #include <sys/socket.h>
14 #include <netinet/in.h>
15 #include <netinet/tcp.h>
16 #include <arpa/inet.h>
Definition ResponseWriter.hpp:7
void cleanup_platform_networking()
Definition PlatformSocket.cpp:21
::socklen_t socklen_t
Definition PlatformSocket.hpp:40
void initialize_platform_networking()
Definition PlatformSocket.cpp:11
constexpr int SOCKET_ERROR_VAL
Definition PlatformSocket.hpp:38
int socket_t
Definition PlatformSocket.hpp:36
bool is_would_block_error()
Definition PlatformSocket.hpp:44
void close_socket(socket_t fd)
Definition PlatformSocket.cpp:27
::ssize_t ssize_t
Definition PlatformSocket.hpp:41
constexpr socket_t INVALID_SOCKET_FD
Definition PlatformSocket.hpp:37
int get_last_socket_error()
Definition PlatformSocket.hpp:43
void set_non_blocking(socket_t fd)
Definition PlatformSocket.cpp:36