DISCONNECT Packet - zeroKilo/GROBackendWV GitHub Wiki

DISCONNECT Packet

this packet is send to disconnect from an established connection, the only difference here is that in the resulting response, the signature is substracted by 0x10000, to give a result of 0x10001 = success back (in this example its 0x7F260001 instead of 0x7F270001 which was used sofar)

Example Packet Exchange

`

10.11.2019 14:39:37 : [UDP Redirector] received : 3F 31 33 6A 78 56 34 12 04 00 08 
10.11.2019 14:39:37 : [UDP Redirector] received : UDPPacket {
	From         : VPort[port=15 type=OldRVSec]
	To           : VPort[port=01 type=OldRVSec]
	Flags        : [FLAG_RELIABLE][FLAG_NEED_ACK]
	Type         : DISCONNECT
	Session ID   : 0x6A
	Signature    : 0x12345678
	Sequence ID  : 0x0004
	PayLoad      : 
	Checksum     : 0x08
}

10.11.2019 14:39:37 : [UDP Redirector] received : UDPPacket { DISCONNECT ( R W  )}
10.11.2019 14:39:37 : [UDP Redirector] send : 31 3F 0B 6A 01 00 26 7F 04 00 72 
10.11.2019 14:39:37 : [UDP Redirector] send : UDPPacket {
	From         : VPort[port=01 type=OldRVSec]
	To           : VPort[port=15 type=OldRVSec]
	Flags        : [FLAG_ACK]
	Type         : DISCONNECT
	Session ID   : 0x6A
	Signature    : 0x7F260001
	Sequence ID  : 0x0004
	PayLoad      : 
	Checksum     : 0x72
}

10.11.2019 14:39:37 : [UDP Redirector] send : UDPPacket { DISCONNECT (  A   )}`