Fix Windows execution.

This commit is contained in:
Jonathan Naylor
2020-09-20 21:31:32 +01:00
parent b2ba671071
commit 5eabb93078
4 changed files with 24 additions and 12 deletions

View File

@@ -51,12 +51,16 @@ int main(int argc, char** argv)
CRemoteCommand::CRemoteCommand(unsigned int port) :
m_port(port)
{
CUDPSocket::startup();
::LogInitialise(false, ".", "RemoteCommand", 2U, 2U);
}
CRemoteCommand::~CRemoteCommand()
{
::LogFinalise();
CUDPSocket::shutdown();
}
int CRemoteCommand::send(const std::string& command)