test
This commit is contained in:
parent
b4cb5f20d5
commit
66154ce852
3
main.go
3
main.go
@ -62,6 +62,9 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
logInfoDebug("Packet fully read : len : %d / type : %d", p.PLength, p.PType)
|
logInfoDebug("Packet fully read : len : %d / type : %d", p.PLength, p.PType)
|
||||||
|
|
||||||
|
handlePacket(p, b[:p.PLength])
|
||||||
|
|
||||||
c := make([]byte, 0xFFFF)
|
c := make([]byte, 0xFFFF)
|
||||||
copy(c, b[p.PLength:])
|
copy(c, b[p.PLength:])
|
||||||
b = c
|
b = c
|
||||||
|
Loading…
Reference in New Issue
Block a user