You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _labs/nibbletorrent-peer.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ When you make this request with a valid peer ID, IP address, port, and torrent I
89
89
90
90
-`interval`: The interval (in seconds) that you must send a request to the tracker in order to be considered a peer.
91
91
92
-
-`peers`: A list of all peers that are seeding the torrent. Each item in the list is a pair of items, with the IP address of the peer and the first item and the client ID of the peer as the second item.
92
+
-`peers`: A list of all peers that are seeding the torrent. Each item in the list is a pair of items, with the IP address of the peer and the first item and the peer ID of the peer as the second item.
93
93
94
94
An example of the payload the tracker return:
95
95
@@ -194,7 +194,7 @@ To facilitate the protocol, your peer will need the following pieces of informat
194
194
195
195
- Torrent file. This specifies what file you want to download and information about the tracker for that file.
196
196
197
-
- Your NetID. Based on your NetID, your client ID will be generated.
197
+
- Your NetID. Based on your NetID, your peer ID will be generated.
198
198
199
199
- The folder that you want to download the file to. For simplicity, this will also be the folder where you upload data from when you are seeding.
200
200
@@ -271,9 +271,9 @@ Here is a diagram showing the general interactions between the different compone
271
271
272
272
This is a big program, but you can make testing easier by breaking it into smaller chunks. Feel free to add additional commandline options that let you test specific components of your lab. For example, first test the download component, then independently test the upload part. Finally test all of the parts together.
273
273
274
-
The tracker provides the the IP address and client ID of each peer. It is a requirement for your lab to work with other people's peers, but you can temporarily restrict which peers you connect with for testing purposes.
274
+
The tracker provides the the IP address and peer ID of each peer. It is a requirement for your lab to work with other people's peers, but you can temporarily restrict which peers you connect with for testing purposes.
275
275
276
-
I will provide a few peers that will upload and download. Their client IDs will be `-ECEN426-bot*`, where `*` can be zero or more characters.
276
+
I will provide a few peers that will upload and download. Their peer IDs will be `-ECEN426-bot*`, where `*` can be zero or more characters.
0 commit comments