Added in connection status to the blumen status log
This commit is contained in:
parent
9e1b5d45f0
commit
1f06b183a6
|
@ -184,6 +184,8 @@ InitDebugServices_OffMode (debug_services* Services,
|
|||
gs_thread_context Ctx,
|
||||
s32 ThreadCount)
|
||||
{
|
||||
*Services = {0};
|
||||
|
||||
Services->Ctx = Ctx;
|
||||
Services->GetWallClock = GetWallClock;
|
||||
Services->GetThreadId = GetThreadId;
|
||||
|
|
|
@ -133,6 +133,7 @@ BlumenLumen_MicListenJob(gs_thread_context* Ctx, u8* UserData)
|
|||
{
|
||||
if (!SocketQueryStatus(Data->SocketManager, ListenSocket))
|
||||
{
|
||||
Data->IsConnected = false;
|
||||
if (SocketHandleIsValid(ListenSocket))
|
||||
{
|
||||
OutputDebugStringA("Disconnected from Python Server\n");
|
||||
|
@ -142,6 +143,7 @@ BlumenLumen_MicListenJob(gs_thread_context* Ctx, u8* UserData)
|
|||
if (ListenSocket.Index != 0)
|
||||
{
|
||||
OutputDebugStringA("Connected to Python Server\n");
|
||||
Data->IsConnected = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue