debug socket udp, trying to undersand recvfrom to handle long msg with list of buffer
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user