TrackerInterface: Difference between revisions

From Hotline Wiki
Jump to navigationJump to search
Created page with "== Tracker Interface == Communication with trackers uses the '''HTRK''' magic number. === Client Request === {| class="wikitable" ! Description !! Size !! Data |- | Magic number || 4 || 'HTRK' (0x4854524B) |- | Version || 2 || 1 (Old) or 2 (New) |} === Server List Record === Each server in the tracker's reply follows this format: {| class="wikitable" ! Description !! Size !! Note |- | IP address || 4 || |- | IP port number || 2 || Server Base Port |- | Number of users..."
 
No edit summary
 
Line 1: Line 1:
== Tracker Interface ==
{{HotlineNav}}== Tracker Interface ==
Communication with trackers uses the '''HTRK''' magic number.
Communication with trackers uses the '''HTRK''' magic number.



Latest revision as of 20:21, 3 March 2026

== Tracker Interface ==

Communication with trackers uses the HTRK magic number.

Client Request

Description Size Data
Magic number 4 'HTRK' (0x4854524B)
Version 2 1 (Old) or 2 (New)

Server List Record

Each server in the tracker's reply follows this format:

Description Size Note
IP address 4
IP port number 2 Server Base Port
Number of users 2
Name size/data Var 1-byte size prefix
Description size/data Var 1-byte size prefix