Skip to content

Commit

Permalink
Get first response from server in 0.6 mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Dec 16, 2024
1 parent 791e134 commit 590a894
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/send_control.asm
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,15 @@ send_ctrl_close:
send_ctrl_msg_connect6:
push rax

mov qword [token], 0xff_ff_ff_ff
mov byte [token+0], 0xff
mov byte [token+1], 0xff
mov byte [token+2], 0xff
mov byte [token+3], 0xff

packet6_pack_byte MSG_CTRL_CONNECT
packet6_pack_raw MAGIC_TKEN, 4

mov byte [out_packet_header_flags], PACKETFLAG_CONTROL
mov byte [out_packet_header_flags], PACKETFLAG6_CONTROL
mov byte [out_packet_header_num_chunks], 0
call send_packet

Expand Down

0 comments on commit 590a894

Please sign in to comment.