Home
last modified time | relevance | path

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

/NetX-Duo-v6.3.0/samples/
Ddemo_bsd_udp.c205 INT status,sock_udp_1; in thread_client_entry() local
222 sock_udp_1 = socket( PF_INET, SOCK_DGRAM, IPPROTO_UDP); in thread_client_entry()
225 if (sock_udp_1 == ERROR) in thread_client_entry()
243 … printf("BSD Client Socket (%lu) sending test message: %s\n", (ULONG)sock_udp_1, CLIENT_MESSAGE); in thread_client_entry()
245 status = sendto(sock_udp_1, CLIENT_MESSAGE, (INT)(sizeof(CLIENT_MESSAGE)), 0, in thread_client_entry()
260 … status = recvfrom(sock_udp_1,(VOID *)echomsg,64, 0, (struct sockaddr *) &fromAddr, &addrlen); in thread_client_entry()
276 printf("Client (%lu) received echo string: %s\n", (ULONG)sock_udp_1, echomsg); in thread_client_entry()
281 status = soc_close(sock_udp_1); in thread_client_entry()