diff --git a/NetworkClient.cpp b/NetworkClient.cpp index e33528bc..55512627 100644 --- a/NetworkClient.cpp +++ b/NetworkClient.cpp @@ -49,6 +49,7 @@ NetworkClient::NetworkClient(std::vector& control) : controller //Start the connection thread #ifdef WIN32 _beginthread(connection_thread, 0, this); + _beginthread(listen_thread, 0, this); #else pthread_t thread; pthread_create(&thread, NULL, &connection_thread, this); @@ -371,4 +372,4 @@ void NetworkClient::SendRequest_RGBController_UpdateMode(unsigned int dev_idx, u port.tcp_client_write((char *)&reply_hdr, sizeof(NetPacketHeader)); port.tcp_client_write((char *)data, size); -} \ No newline at end of file +}