Click here to Skip to main content
15,891,719 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

Can anyone plz let me know how to send acknowledgement messsage of data transmission in socket programming in vc++.
i,e,
When data is sent from a client to a server,how will the client make sure if all the data has reached at the server accurately.

Thanks
Dev.
Posted
Updated 31-Jan-12 0:17am
v2
Comments
Richard MacCutchan 31-Jan-12 6:46am    
Did you read my answer?

1 solution

Just do the same as the client did. Check the received data is correct, format a response to indicate success and send it back to the client. Socket communication just enables you to send and receive messages at each end, the actual protocol you use in those messages is entirely up to you.
 
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