Searched refs:sock_raw (Results 1 – 1 of 1) sorted by relevance
/NetX-Duo-v6.3.0/samples/ |
D | demo_bsd_raw.c | 121 INT sock_raw; in thread_0_entry() local 198 sock_raw = socket(socket_family, SOCK_RAW, 0x99); in thread_0_entry() 201 if (sock_raw == ERROR) in thread_0_entry() 209 …bytes_sent = sendto(sock_raw, MESSAGE, (INT)(sizeof(MESSAGE)), 0, (struct sockaddr *) &destAddr, s… in thread_0_entry() 219 soc_close(sock_raw); in thread_0_entry() 231 INT sock_raw; in thread_1_entry() local 296 sock_raw = socket(socket_family, SOCK_RAW, 0x99); in thread_1_entry() 299 if (sock_raw == ERROR) in thread_1_entry() 310 …bytes_received = recvfrom(sock_raw, (VOID *)recv_buffer,64, 0, (struct sockaddr *) &fromAddr, &add… in thread_1_entry() 332 soc_close(sock_raw); in thread_1_entry()
|