mirror of
https://github.com/NanjingForestryUniversity/supermachine-wood.git
synced 2025-11-08 10:13:53 +00:00
大概可以用的两个sock,且简单回复版本
This commit is contained in:
parent
c4b547750f
commit
b35363ee60
@ -14,8 +14,6 @@ from utils import PreSocket, receive_sock, parse_protocol, ack_sock, done_sock,
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def process_cmd(cmd: str, data: any, connected_sock: socket.socket, detector: WoodClass) -> bool:
|
def process_cmd(cmd: str, data: any, connected_sock: socket.socket, detector: WoodClass) -> bool:
|
||||||
"""
|
"""
|
||||||
处理指令
|
处理指令
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user