1
Network / Sfml Tcp socket, do I have to check for the msg size?
« on: February 02, 2016, 10:35:54 pm »
Hello everyone,
I'm with the SFML library but so far the documentations answered pretty much all my questions.
I haven't found any information about SFML tcp reliability on message size. What I mean is that in some tcp implementation I had to check everytime datas came in to be sure I had the full packet size and in others the receiveMsgEvent was raised only when the packets were complete.
Usualy I'm testing it with computers on differents networks but I don't have access to such materials at the moment and localhost won't produce the problem as the data are not actually sent over a network.
Thanks to all, have a nice day
I'm with the SFML library but so far the documentations answered pretty much all my questions.
I haven't found any information about SFML tcp reliability on message size. What I mean is that in some tcp implementation I had to check everytime datas came in to be sure I had the full packet size and in others the receiveMsgEvent was raised only when the packets were complete.
Usualy I'm testing it with computers on differents networks but I don't have access to such materials at the moment and localhost won't produce the problem as the data are not actually sent over a network.
Thanks to all, have a nice day