Click here to Skip to main content
16,020,990 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, I am Writhing Application Across NETWORK, I send data to Server Over TCP/IP. How i reduce data losing? how i prevent? wanna make zero data loss. is it possible? but Network is not wireless. So help me. X|
Posted

The TCP layer guarantees delivery of your data (if you check for error codes of course), so you don't have to do anything. If your session completes without errors, your data is guaranteed to have arrived at the other side.
UDP, on the other hand may loose data. Just don't use it...
 
Share this answer
 
TCP is a reliable protocol.

coemaw wrote:
but Network is not wireless.

I suppose it helps.
:)
 
Share this answer
 
What do you mean by zero data loss? If TCP/IP did not already do this the entire Internet would collapse.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900