p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C++ Programming (http://p2p.wrox.com/forumdisplay.php?f=89)
-   -   Sockets (http://p2p.wrox.com/showthread.php?t=18740)

riteshu September 22nd, 2004 01:15 AM

Sockets
 
I wanted to kno if there is any mechanism to to notify the server that the data sent (by the server) has been succesfully received by the client.

My server send text messages in intervals and on every receive i need to tell the server to resend that message if i dont receive it.

Im using winsock2.

thnx in advance

Ankur_Verma September 22nd, 2004 02:30 AM

By its architecture TCP resends the data in case of a mishap on the way. Although you can always have extra checks by doing manual checksum checking to ensure problemless transport in case of something like a connection loss etc.


All times are GMT -4. The time now is 06:07 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.