Home
last modified time | relevance | path

Searched refs:sock_udp_2 (Results 1 – 1 of 1) sorted by relevance

/NetX-Duo-v6.3.0/samples/
Ddemo_bsd_udp.c135 INT sock_udp_2; in thread_server_entry() local
143 sock_udp_2 = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in thread_server_entry()
146 if (sock_udp_2 == -1) in thread_server_entry()
159 status = bind (sock_udp_2, (struct sockaddr *) &echoServAddr, sizeof(echoServAddr)); in thread_server_entry()
172 … status = recvfrom(sock_udp_2,(VOID *)buffer, 64, 0,(struct sockaddr *) &fromAddr, &addrlen1); in thread_server_entry()
188 …status = sendto(sock_udp_2, buffer, (INT)(status + 1), 0, (struct sockaddr *) &fromAddr, sizeof(fr… in thread_server_entry()