ipc client connect test with working unit tests.

This commit is contained in:
Nick Bolton 2012-06-29 11:33:21 +00:00
parent 7d8fd5927d
commit 218e98398f
15 changed files with 86 additions and 40 deletions

View file

@ -16,9 +16,12 @@
*/
#include "CIpcServer.h"
#include "Ipc.h"
CIpcServer::CIpcServer()
CIpcServer::CIpcServer() :
m_address(CNetworkAddress(IPC_HOST, IPC_PORT))
{
m_address.resolve();
}
CIpcServer::~CIpcServer()
@ -28,4 +31,5 @@ CIpcServer::~CIpcServer()
void
CIpcServer::listen()
{
m_socket.bind(m_address);
}