这样是没问题的

This commit is contained in:
zogodo
2020-02-17 15:25:48 +08:00
parent 97bfbef93c
commit 882f75bd43
5 changed files with 5 additions and 5 deletions

View File

@@ -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));
}