Workerman snooping tcp sticky packet processing

problem description

how to unpack the packets obtained when listening to tcp ports using workerman?

the environmental background of the problems and what methods you have tried

packet: 456e642d4465766963653a102018102709070100010100130014001300000000
heartbeat packet: 526f757465723a2018102700
will be superimposed
clipboard.png

//

clipboard.png

what result do you expect? What is the error message actually seen?

I hope the god will show me how to unpack the packet (add every packet to the queue without losing the packet). I really don"t know the parsing method for a day or two. no, no, no. no, no, no.

Php
Jun.17,2022

Custom protocol

clipboard.png

Menu