Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to sending file using YaNFD #105

Open
iommf opened this issue Jan 14, 2025 · 1 comment
Open

How to sending file using YaNFD #105

iommf opened this issue Jan 14, 2025 · 1 comment
Labels
documentation Improvements or additions to documentation fw YaNFD issues

Comments

@iommf
Copy link

iommf commented Jan 14, 2025

Excuse me sir, i would like to ask you about how to send a file using YaNFD forwarder in NDN. Is it same as NFD, that it have the same step by step as NFD? Thx

@pulsejet
Copy link
Collaborator

Yes, the process is identical (otherwise it's a bug)

  1. Start forwarder on two nodes, e.g.
    ndnd fw run conf.yml
    
  2. Add a tunnel route between the nodes, e.g. on consumer side,
    ndnd fw route add prefix=/test face=udp4://producer-ip:6363
    
  3. Start put chunks on producer side
    ndnd put /test/file1 < my_file.bin
    
  4. Start cat chunks on consumer side
    ndnd cat /test/file1 > recv_file.bin
    

@pulsejet pulsejet added documentation Improvements or additions to documentation fw YaNFD issues labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation fw YaNFD issues
Projects
None yet
Development

No branches or pull requests

2 participants