Hey guys,
I’m currently trying to get some data streamed into the engine using TCP sockets and everything works fine but sometimes after a couple of seconds or minutes the engine crashes because the FSocket becomes invalid. Not null but invalid and when calling HasPendingData() an access violation gets thrown.
Code (probably won’t help much):
for (FSocket* Client : ClientSockets)
{
uint32 PendingDataSize = 0;
if (!Client || !Client->HasPendingData(PendingDataSize))
{
continue;
}
//...
}
Any help appreciated!