39#ifndef BLOCXX_NETWORK_TYPES_HPP_INCLUDE_GUARD_
40#define BLOCXX_NETWORK_TYPES_HPP_INCLUDE_GUARD_
41#include "blocxx/BLOCXX_config.h"
46#ifdef BLOCXX_HAVE_UNISTD_H
52#ifdef BLOCXX_HAVE_SYS_SOCKET_H
53 #include <sys/socket.h>
56#ifdef BLOCXX_HAVE_NETINET_IN_H
57 #include <netinet/in.h>
60#ifdef BLOCXX_HAVE_SYS_UN_H
64#if defined(BLOCXX_WIN32)
78#ifdef BLOCXX_HAVE_IPV6
84#if !defined(BLOCXX_WIN32)
92#if defined (BLOCXX_WIN32)
102#if defined(BLOCXX_WIN32)
107 , descriptor(INVALID_HANDLE_VALUE)
117 , descriptor(arg.descriptor)
119 , isSocket(arg.isSocket)
120 , networkevents(arg.networkevents)
121 , doreset(arg.doreset)
137 return (event < s1.event);
142 return (event == s1.event);
151#if defined(BLOCXX_WIN32) || defined(BLOCXX_NCR)
154#ifndef BLOCXX_HAVE_SOCKLEN_T
sockaddr_in InetSocketAddress_t
bool operator<(const Array< T > &x, const Array< T > &y)
bool operator==(const Array< T > &x, const Array< T > &y)
sockaddr_un UnixSocketAddress_t