42 #ifndef BLOCXX_INETSERVERSOCKETIMPL_HPP_INCLUDE_GUARD_ 43 #define BLOCXX_INETSERVERSOCKETIMPL_HPP_INCLUDE_GUARD_ 44 #include "blocxx/BLOCXX_config.h" 81 void doListenIPv4(UInt16 port,
int queueSize,
const String& listenAddr);
82 #ifdef BLOCXX_HAVE_IPV6 84 void doListenIPv6(UInt16 port,
int queueSize,
const String& listenAddr);
86 void doListen(UInt16 port,
int queueSize=10,
91 void doListenUDS(
const String& filename,
int queueSize=10,
92 bool reuseAddr =
true);
108 #pragma warning (push) 109 #pragma warning (disable: 4251) 113 #if defined(BLOCXX_WIN32) 114 #pragma warning (pop)
BLOCXX_COMMON_API int close(const FileHandle &hdl)
Close file handle.
This String class is an abstract data type that represents as NULL terminated string of characters.
SocketAddress getLocalAddress()
static const char *const ALL_LOCAL_ADDRESSES
SocketHandle_t getfd() const
A timeout can be absolute, which means that it will happen at the specified DateTime.
SocketAddress m_localAddress
The purpose of the File class is to provide an abstraction layer over the platform dependant function...
SocketFlags::ESSLFlag m_isSSL