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)
The purpose of the File class is to provide an abstraction layer over the platform dependant function...
ServerSocketImpl & operator=(const ServerSocketImpl &arg)
SocketAddress getLocalAddress()
SocketHandle_t getfd() const
SocketAddress m_localAddress
SocketFlags::ESSLFlag m_isSSL
ServerSocketImpl(const ServerSocketImpl &arg)
Socket accept(const Timeout &timeout)
ServerSocketImpl(SSLServerCtxRef sslCtx)
static const char *const ALL_LOCAL_ADDRESSES
This String class is an abstract data type that represents as NULL terminated string of characters.
A timeout can be absolute, which means that it will happen at the specified DateTime.
IntrusiveReference< SSLServerCtx > SSLServerCtxRef