40 #ifndef BLOCXX_INETSERVERSOCKET_HPP_INCLUDE_GUARD_
41 #define BLOCXX_INETSERVERSOCKET_HPP_INCLUDE_GUARD_
42 #include "blocxx/BLOCXX_config.h"
52 class BLOCXX_COMMON_API ServerSocket :
public SelectableIFC
66 ServerSocket(
const ServerSocket& arg);
78 Socket accept(const Timeout& timeout);
88 void doListen(UInt16 port, SocketFlags::
ESSLFlag isSSL,
int queueSize=10,
89 const String& listenAddr = SocketAddress::ALL_LOCAL_ADDRESSES,
99 void doListen(UInt16 port,
int queueSize=10,
100 const String& listenAddr = SocketAddress::ALL_LOCAL_ADDRESSES,
110 void doListen(
const String& filename,
int queueSize=10,
111 bool reuseAddr=
true);
123 SocketAddress getLocalAddress();
133 #pragma warning (push)
134 #pragma warning (disable: 4251)
137 IntrusiveReference<ServerSocketImpl>
m_impl;
140 #pragma warning (pop)