in i simple program that use sockets how can i know if the recv() function has received all data ???
if the client send a message but the send not send all data and then the client must call another time the send() function to be sure that all data will be send; how i can know if recv function is correct(receive all data)??
P.S. my english is very bad, sorry.