Click here to Skip to main content
15,896,348 members
Articles / Desktop Programming / MFC

Pause & Resume at Protocol level. (You can implement it in any language)

Rate me:
Please Sign up or sign in to vote.
4.64/5 (19 votes)
9 Oct 20025 min read 196.5K   5.5K   82  
Ever wondered how some of the popular download tools have capability to break download in middle, disconnect from net, later reconnect and restart file transfer from exact point they left earlier.
/*
	This code is distributed as is with no warranty, Feel free to change use it in any way you like.
	Author is not responsible for anything.
	If you have any problem feel free to contact NarendraChandel@hotmail.com
	Have fun.
*/
// stdafx.cpp : source file that includes just the standard includes
//	PauseResumeDemo.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"



By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
United States United States
To know more about Narendra's professional work one can check his profile below:

http://www.linkedin.com/in/narendrachandel

Comments and Discussions