Wrox Programmer Forums
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 22nd, 2004, 01:15 AM
Registered User
 
Join Date: Sep 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #2 (permalink)  
Old September 22nd, 2004, 02:30 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

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.
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
Sockets & Multithreading Rosicky Java Basics 1 March 15th, 2007 12:18 PM
Sockets Geo121 General .NET 1 March 30th, 2006 10:12 AM
XML, Sockets, Streams and a headache owain General .NET 4 September 8th, 2004 04:53 AM
Sockets natmaster Java GUI 2 April 26th, 2004 08:40 PM
Sockets idplatt BOOK: Beginning Java 2 1 August 14th, 2003 10:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.