Ok so i know TCP is supposed to be guaranteed delivery and delivered in the correct order but I have come across a situation where it would seem that a TCP “message” was lost all together. Is this possible or is this a flaw in my code?
In detail:
I have a turn based game and it worked perfectly well for 3 or 4 games but on the 5th game a strange thing occurred where me and the person I was playing got stuck on a screen that said “waiting for opponent to take their turn.” However, I don’t think the entire connection was blown since me and the other player could send “chat” messages back and forth (using the same port and socket). Therefore leading me to believe that the data for my turn was simply lost.