MySQL 8.0.40
Source Code Documentation
COM_BINLOG_DUMP

Request a Binlog Network Stream from the server

Returns
Binlog Network Stream on success or ERR_Packet on error
Payload
TypeNameDescription
int<1> status [0x12] COM_BINLOG_DUMP
int<4> binlog-pos position in the binlog-file to start the stream with
int<2> flags can right now has one possible value: BINLOG_DUMP_NON_BLOCK
int<4> server-id Server id of this slave
string<EOF> binlog-filename filename of the binlog on the master
See also
com_binlog_dump