Implement a method in TorrentManger to write a Data packet of a torrent to the correct location on
disk. Also create a utility method to initialize the structure for fileState, fixing a bug of
opening a non-existent file with the fs::stream::in bit.

Change-Id: Ife08c2fef93d6a6cba906c3735ffac57506b7750
3 files changed
tree: 0ca701b58c655edec11d4f4c6b54155d6278950c
  1. .jenkins.d/
  2. .waf-tools/
  3. src/
  4. tests/
  5. .clang-format
  6. .gitignore
  7. .jenkins
  8. .travis.yml
  9. AUTHORS
  10. COPYING.md
  11. README-dev.md
  12. README.md
  13. VERSION
  14. waf
  15. wscript
README.md

nTorrent: An application to provide BitTorrent-like functions in Named Data Networking (NDN)

nTorrent is an NDN application to provide peer-to-peer file sharing functionality similar to BitTorrent in TCP/IP networks.

Please submit any bugs or issues to the nTorrent issue tracker: http://redmine.named-data.net/projects/ntorrent/issues

More documentation

Extensive documentation is coming soon!

License

nTorrent is an open source project licensed under LGPL 3.0 license. For more information about the license, refer to COPYING.md.