Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17



Posted on 1999-08-02
Medium Priority
Last Modified: 2013-11-20
Hi friends..

I just have a doubt in data transfer from server to client..Actually if a client needs to download a file from the server it will send a request to the server then the server will transfer the file as packets to the client.. in the client side after all the packets are recieved, ie the entire file is loaded into the memory and then only the file can be run in the local machine..

The problem is if the file is so big (eg. multimedia files) it needs a lot to time to load the file from the server to client.. so using the streaming technique i heard that the file can be run while the client is recieving the packets from the server.. ie, the client will open the file with the recieved packets .. it will not wait until all the packets are recieved..

are u able to understand what i am trying to say..???

ok.. i will give an example.. if u r downloading a avi file from the server, u dont need to wait for entire downloading... if the client starts recieving the packets.. the client has to run the avi file...and simultaneously the remaining packets are loaded into client so that the end user feels like a faster access from the server... this could save a lot of time for data transfer..

anyone can help out in this..????

i want to know how streaming can be done thru MFC... u can tell me the logic also...

Question by:axraja
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Author Comment

ID: 1312397
Edited text of question.
LVL 23

Accepted Solution

chensu earned 200 total points
ID: 1312398
AVI files do not support streaming. Instead, use Advanced Streaming Format (ASF).

MFC does not provide anything about streaming. Look into DirectShow in DirectX Media SDK. You probably just need to incorporate the Windows Media Player Control into your application.

Author Comment

ID: 1312399
Thank you very much for your information chensu.. but i dont want microsoft's format and all.. I need the technique or logic, that how to do streaming for our own formatted files...

I just want to know how to code for streaming...??

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

671 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question