This commit is contained in:
esrrhs committed 2018-12-18 18:05:08 +08:00
1 parent db72092352
commit c9b5f6658f
2 files changed
+6 -2

No files matched your search

+4
View File
@@ -151,6 +151,10 @@ func (p *Client) Accept() error {
func (p *Client) processPacket(packet *Packet) {
if len(packet.target) != 0 {
return
}
fmt.Printf("processPacket %s %s %d\n", packet.id, packet.src.String(), len(packet.data))
clientConn := p.localIdToConnMap[packet.id]