Searched refs:sock_c4 (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/net/socket/misc/src/ |
D | main.c | 708 int sock_c4, sock_c6, sock_s6, new_sock; in test_ipv4_mapped_to_ipv6_server() local 781 sock_c4 = zsock_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in test_ipv4_mapped_to_ipv6_server() 782 zassert_true(sock_c4 >= 0, "socket open failed"); in test_ipv4_mapped_to_ipv6_server() 784 ret = zsock_connect(sock_c4, &srv_addr, ADDR_SIZE(AF_INET)); in test_ipv4_mapped_to_ipv6_server() 806 ret = zsock_recv(sock_c4, buf, sizeof(buf), 0); in test_ipv4_mapped_to_ipv6_server() 809 ret = zsock_close(sock_c4); in test_ipv4_mapped_to_ipv6_server()
|