I have clients connecting with a hail message, and it doesn't work sometimes.
Most clients appear to be working, but occasionally I'll get a client that simply doesn't have the hail message
Here is an example of one time that it didn't
If I attempt to use connection approval (turning on the message, and handling it), a similar thing will happen. Sometimes it appears that the hail message is packets from other clients, other times I'm not sure what it is.
simply reading messages like this:
var readMessages = new List<NetIncomingMessage>();
while (true)
{
var read = _server.ReadMessages(readMessages);
for (int i = 0; i < read; i++)
{
var msg = readMessages[i];
//do stuff with the message
}
}
This usually happens if I have other clients already connected and sending data.
I have clients connecting with a hail message, and it doesn't work sometimes.
Most clients appear to be working, but occasionally I'll get a client that simply doesn't have the hail message
Here is an example of one time that it didn't
If I attempt to use connection approval (turning on the message, and handling it), a similar thing will happen. Sometimes it appears that the hail message is packets from other clients, other times I'm not sure what it is.
simply reading messages like this:
This usually happens if I have other clients already connected and sending data.