Jump to content
Comet Forums
Sign in to follow this  
kwokwai

initiation

Recommended Posts

When you start or re-start a torrent, the first thing that happens is your client "scrapes" the tracker, by transmitting a small metafile containing your information. The tracker then adds you to its list of swarm members.

The tracker transmits a metafile to your client, containing a list of the active swarm members, and a timer that tells your client when to re-scrape. At each re-scrape the tracker updates the list of active members.

Once your client has the list, it attempts to contact other swarm members from the list and initiate negotiations with them. Because your client initiated the contact, this is called LOCAL initiation.

Meantime, all of the other members are periodically scraping the tracker, and getting updated lists which now include you as a swarm member. Some of those members will attempt to contact your client on your listen port. (If the listen port is not open, your firewall(s) blocks and rejects those attempts.)

If the connection succeeds, it was initiated by some other member, so this is called REMOTE initiation. If efforts to initiate remote connections are stymied, some clients will attempt to negotiate a mixed connection called a network address translation traversal, which is called a NAT initiation.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...