Recent

Author Topic: Synapse : Simple things  (Read 1158 times)

Jake012345

  • Sr. Member
  • ****
  • Posts: 270
  • Knowledge is the key
Synapse : Simple things
« on: March 02, 2021, 05:36:39 pm »
Hi guys!

I have a theorically question before I start to make it.

I want to make a program that send files (still :D).
Can a program works and still stay fast, if it cuts the whole file in pieces, and send these without the built in cycle? I mean I cut the file, and I send the file pieces one by one?

In theory it gives me time, to check the success, and modificate the line if needed.

And if it works, how, and where can I store the file pieces? It really needs the same memory like the basic file? I should store it on ROM or RAM?

Thanks for the answers, friends!

PierceNg

  • Sr. Member
  • ****
  • Posts: 369
    • SamadhiWeb
Re: Synapse : Simple things
« Reply #1 on: March 03, 2021, 04:24:50 am »
I want to make a program that send files (still :D).
Can a program works and still stay fast, if it cuts the whole file in pieces, and send these without the built in cycle? I mean I cut the file, and I send the file pieces one by one?

In theory it gives me time, to check the success, and modificate the line if needed.

Whenever you send a file, your program has to deal with network and endpoint issues that could result in an incomplete transfer. Now, in your scenario, your program cuts a file into say 10 pieces somehow and attempts to transfer each piece individually. The program still has to deal with those issues for each piece.

Bottom line, first make your program work for transferring whole files.

 

TinyPortal © 2005-2018