LLAPITransport: Server Receive filters out LLAPI's internal channels (alive check message)

This commit is contained in:
vis2k 2018-08-22 20:44:31 +02:00
parent 5dbacafc97
commit bbdb045c6d

View File

@ -193,6 +193,13 @@ public bool ServerGetNextMessage(out int connectionId, out TransportEvent transp
return false; return false;
} }
// LLAPI client sends keep alive messages (75-6C-6C) on channel=110.
// ignore all messages that aren't for our selected channel.
if (channel != channelId)
{
return false;
}
switch (networkEvent) switch (networkEvent)
{ {
case NetworkEventType.Nothing: case NetworkEventType.Nothing: