Go to the documentation of this file.
39 #include "blocxx/BLOCXX_config.h"
82 #if defined(BLOCXX_WIN32)
100 #if defined(BLOCXX_WIN32)
118 #if defined(BLOCXX_WIN32)
static void createShutDownMechanism()
static bool b_gotShutDown
#define BLOCXX_LAZY_GLOBAL_INIT(...)
Statically initialize a LazyGlobal instance.
UnnamedPipeRef ShutDownMechanism_t
Socket()
Construct a non-SSL Socket.
#define BLOCXX_THROW_ERRNO_MSG(exType, msg)
Throw an exception using FILE, LINE, errno and strerror(errno)
static void deleteShutDownMechanism()
static GlobalMutex shutdownMutex
LazyGlobal< Mutex, int, GlobalMutexFactory > GlobalMutex
static LazyGlobal< Socket::ShutDownMechanism_t, int, ShutDownMechanismFactory > s_shutDownMechanism
#define BLOCXX_DEFINE_EXCEPTION_WITH_ID(NAME)
Define a new exception class named <NAME>Exception that derives from Exception.
static bool gotShutDown() BLOCXX_DEPRECATED
Have the sockets been shutdown?
#define BLOCXX_GLOBAL_MUTEX_INIT()
#define BLOCXX_ASSERT(CON)
BLOCXX_ASSERT works similar to the assert() macro, but instead of calling abort(),...
static UnnamedPipeRef createUnnamedPipe(EOpen doOpen=E_OPEN)
Create an instance of the concrete class that implements the UnnamedPipe interface.
static void shutdownAllSockets()
Call this to shutdown all sockets.