ddc
Functions
CHost.cpp File Reference
#include "CHost.h"
#include "util_classes.h"
#include "DDCInternalError.h"
#include <string.h>
#include <errno.h>
Include dependency graph for CHost.cpp:

Functions

static void * ListenerThread (void *pParam)
 
bool LoadHosts (string Path, vector< CHost > &Hosts)
 

Function Documentation

◆ ListenerThread()

static void* ListenerThread ( void *  pParam)
static

References ddc_thread_init(), ddcLogError, Format(), CHost::HostAddr(), CHost::m_CorpusName, CHost::Port(), CHost::RunThread(), SocketDeinitialize(), and SocketInitialize().

Referenced by CHost::CreateListener().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadHosts()

bool LoadHosts ( string  Path,
vector< CHost > &  Hosts 
)

References FileExists(), CHost::ReadFromString(), and Trim().

Referenced by CHost::IsListening(), LoadDDCServer(), and LoadLocalCorpora().

Here is the call graph for this function:
Here is the caller graph for this function: