I always try to keep my web-apps Third-party Free
Bageshwar.Pratap.Narain
OCJP
Bageshwar.Pratap.Narain
OCJP
Jose Campana wrote:
I think it's going to take a while before I can get this code to work, I'll study it, apply it, and then eventually and probably will have some questions. I hope I can trouble you in the future with them....![]()
For now...
I can't find the correct words to express my gratitude.
Best Regards,
Jose
Bageshwar.Pratap.Narain
OCJP
Jose Campana wrote:Alright,
How do you know the length of the headers ? I mean, You read bytes 4 times for a length of 1024. (For the 4 elements in the header info. I'm assuming).
(Where did you learn this was the way to go?)
After that you proceed with reading the Actual message.; You start From position 0. And the code it's pretty straight-forward from then on. BUT.....
IF I DON'T PREVIOUSLY READ THE HEADER INFO, THE FILE CREATION FAILS.
Why is this?
I mean If I comment this lines:
The File creation that comes next Fails, Could you explain to me a little more about your code.
Bageshwar.Pratap.Narain
OCJP
Since you are writing to an image ( the data follows after the 4 lines of HELLO-HI),
What are the HELLO-HIs, you're talking about here? Excuse my ignorance If it's an obvious-response Question.
Bageshwar.Pratap.Narain
OCJP
I'm running this web application locally, so it is VERY FAST. Should I expect it to be considerably Slower once it's used over the Internet, and Upload Large Files?
Bageshwar.Pratap.Narain
OCJP
Consider Paul's rocket mass heater. |