debug socket udp, trying to undersand recvfrom to handle long msg with list of buffer

This commit is contained in:
2025-06-17 19:20:41 +02:00
parent 6d54cc4d12
commit adf442cb85
3 changed files with 62 additions and 23 deletions
+2 -2
View File
@@ -25,7 +25,7 @@
TEST(first){
struct y_socket_t *firstSock = y_socket_create("1600");
struct y_socket_t *firstSock = y_socket_create("1600", 2);
LOG("create y_socket_t in port |%s|\n",firstSock->port);
y_socket_free(firstSock);
@@ -164,7 +164,7 @@ TEST(searchNode){
TEST(pollThread){
struct y_socket_t *argS=y_socket_create("1600");
struct y_socket_t *argS=y_socket_create("1600", 2);
pthread_t pollTh;
pthread_create(&pollTh, NULL, y_pollSocketsFunc, (void*)argS);