feat: 🔥 删除已验证的UDP字符串测试

This commit is contained in:
yuanQie 2025-06-09 13:17:23 +08:00
parent f26d1c7e07
commit b15e5a004b

View File

@ -95,10 +95,10 @@ void *handleUdpTransmission(void *arg)
server_addr_case52.sin_addr.s_addr = inet_addr(SERVER_IP_CASE52); // IP转换
// int flags = fcntl(sockfd_case52, F_GETFL, 0);
// fcntl(sockfd_case52, F_SETFL, flags | O_NONBLOCK);
char *message = "test";
sendto(sockfd_case52, message, strlen(message), 0,
(struct sockaddr *)&server_addr_case52, sizeof(server_addr_case52));
printf("[sendto]:%s\n", message);
// char *message = "test";
// sendto(sockfd_case52, message, strlen(message), 0,
// (struct sockaddr *)&server_addr_case52, sizeof(server_addr_case52));
// printf("[sendto]:%s\n", message);
printf("[socket]:UDP ready\n");
// mmap