ELinks 0.18.0
bittorrent_peer Struct Reference

Information about peers returned by the tracker. More...

#include <common.h>

Public Member Functions

 LIST_HEAD_EL (struct bittorrent_peer)

Data Fields

bittorrent_id_T id
 Unique peer ID string.
uint16_t port
 The port number to connect to.
char ip [1]
 String with a IPv4 or IPv6 address.

Detailed Description

Information about peers returned by the tracker.

Member Function Documentation

◆ LIST_HEAD_EL()

bittorrent_peer::LIST_HEAD_EL ( struct bittorrent_peer )

Field Documentation

◆ id

bittorrent_id_T bittorrent_peer::id

Unique peer ID string.

◆ ip

char bittorrent_peer::ip[1]

String with a IPv4 or IPv6 address.

◆ port

uint16_t bittorrent_peer::port

The port number to connect to.


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