Link to home
Start Free TrialLog in
Avatar of axraja
axraja

asked on

streaming

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...

axraja
Avatar of axraja
axraja

ASKER

Edited text of question.
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of axraja

ASKER

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...??