mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 21:18:13 +08:00
这样是没问题的
This commit is contained in:
@@ -91,7 +91,7 @@ void UdpThread(void *arg)
|
||||
strcpy(ip_address, inet_ntoa(addr.sin_addr));
|
||||
if(len<1024) buf[len]=0;
|
||||
os_log("udp recv from %s:%d, len:%d ", ip_address,addr.sin_port, len);
|
||||
UserFunctionCmdReceived(1,buf);
|
||||
//UserFunctionCmdReceived(1,buf); //<2F><><EFBFBD><EFBFBD>?
|
||||
// sendto(udp_fd, buf, len, 0, (struct sockaddr *) &addr, sizeof(struct sockaddr_in));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user