mirror of
https://github.com/debauchee/barrier.git
synced 2025-06-17 02:01:41 +02:00
ipc client connect test with working unit tests.
This commit is contained in:
parent
7d8fd5927d
commit
218e98398f
15 changed files with 86 additions and 40 deletions
|
@ -16,9 +16,12 @@
|
|||
*/
|
||||
|
||||
#include "CIpcClient.h"
|
||||
#include "Ipc.h"
|
||||
|
||||
CIpcClient::CIpcClient()
|
||||
CIpcClient::CIpcClient() :
|
||||
m_serverAddress(CNetworkAddress(IPC_HOST, IPC_PORT))
|
||||
{
|
||||
m_serverAddress.resolve();
|
||||
}
|
||||
|
||||
CIpcClient::~CIpcClient()
|
||||
|
@ -28,4 +31,5 @@ CIpcClient::~CIpcClient()
|
|||
void
|
||||
CIpcClient::connect()
|
||||
{
|
||||
m_socket.connect(m_serverAddress);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue