/// <summary> /// Data coming in from the TCPIP server /// </summary> private void OnDataReceive(byte[] message, int messageSize) { if (AppIsExiting) { return; } //Console.WriteLine($"Raw Data From: Host Server, Size of Packet: {messageSize}"); HostServerRawPackets.AddToList(message, messageSize); if (autoEventHostServer != null) { autoEventHostServer.Set(); //Fire in the hole } }
private void OnDataReceive(byte[] message, int messageSize) { if (AppIsExiting) { return; } HostServerRawPackets.AddToList(message, messageSize); if (autoEventHostServer != null) { autoEventHostServer.Set(); } }