ELinks 0.18.0
bittorrent_tracker_connection Struct Reference

This stores info about tracker requests. More...

#include <common.h>

Collaboration diagram for bittorrent_tracker_connection:

Data Fields

enum bittorrent_tracker_event event
 Used for keeping track of when to send event info to the tracker.
 
timer_id_T timer
 Time in seconds between contacting the tracker and a timer handle.
 
int interval
 
unsigned int failed:1
 Requesting the tracker failed or was never started so no event=stopped should be sent.
 
unsigned int started:1
 

Detailed Description

This stores info about tracker requests.

It is not a real connection because it consists of a series of HTTP requests but both the tracker and client is supposed to keep state information across all requests.

Field Documentation

◆ event

enum bittorrent_tracker_event bittorrent_tracker_connection::event

Used for keeping track of when to send event info to the tracker.

◆ failed

unsigned int bittorrent_tracker_connection::failed

Requesting the tracker failed or was never started so no event=stopped should be sent.

◆ interval

int bittorrent_tracker_connection::interval

◆ started

unsigned int bittorrent_tracker_connection::started

◆ timer

timer_id_T bittorrent_tracker_connection::timer

Time in seconds between contacting the tracker and a timer handle.


The documentation for this struct was generated from the following file: