Secondary Packet 0x03A1





This packet is designed to deliver to a Secondary client a list of alternative Primary Node connection details from its current Primary host, this is done to ensure that if a Primary host goes offline the Secondary client connected to it is able to reconnect to the network without having to go through the long winded process of connecting to the Peer Cache, using this shorter method ensures faster and more stable reconnections as only currently live Primary Nodes are delivered..

This is the packet format

[0x03A1][ Data Length : 2 ][ IP : 4 ][ UDP Port : 2 ][ TCP Port : 2 ][ Free Primary Slots : 1 ][ Free Secondary Slots : 1 ][ X  : 1 ][ 00 : 1 ]  
[ IP : 4 ][ UDP Port : 2 ][ TCP Port : 2 ][ Free Primary Slots : 1 ][ Free Secondary Slots : 1 ][ X  : 1 ][ 00 : 1 ]
[ IP : 4 ][ UDP Port : 2 ][ TCP Port : 2 ][ Free Primary Slots : 1 ][ Free Secondary Slots : 1 ][ X  : 1 ][ 00 : 1 ]
[ IP : 4 ][ UDP Port : 2 ][ TCP Port : 2 ][ Free Primary Slots : 1 ][ Free Secondary Slots : 1 ][ X  : 1 ][ 00 : 1 ]
[ IP : 4 ][ UDP Port : 2 ][ TCP Port : 2 ][ Free Primary Slots : 1 ][ Free Secondary Slots : 1 ][ X  : 1 ][ 00 : 1 ]
[ IP : 4 ][ UDP Port : 2 ][ TCP Port : 2 ][ Free Primary Slots : 1 ][ Free Secondary Slots : 1 ][ X  : 1 ][ 00 : 1 ]
[ IP : 4 ][ UDP Port : 2 ][ TCP Port : 2 ][ Free Primary Slots : 1 ][ Free Secondary Slots : 1 ][ X  : 1 ][ 00 : 1 ]
[ IP : 4 ][ UDP Port : 2 ][ TCP Port : 2 ][ Free Primary Slots : 1 ][ Free Secondary Slots : 1 ][ X  : 1 ][ 00 : 1 ]

X= Unknown Purpose 1, 2 or 0 marker

The data supplied by the Primary host consists of a list of backup Primary nodes, as might not be obvious in the packet above the initial part of the data is the connection information for the current Primary followed by a block of 7 further results.

This packet is sent very regulary and is thus also able to serve as a stay alive packet, in normal operation when receiving this packet the Primary will expect to receive a 0x0384 status packet in return.  

Return To Secondary Packet Index

©2005-2024 WinMXWorld.com. All rights reserved. Page last updated Sat Jun 11 2016