Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/test/regression/bsd_test/
Dnetx_bsd_tcp_2nd_bind_test.c105 int sockfd1; in ntest_0_entry() local
124 sockfd1 = socket(AF_INET, SOCK_STREAM, 0); in ntest_0_entry()
125 if(sockfd1 < 0) in ntest_0_entry()
132 ret = bind(sockfd1, (struct sockaddr*)&local_addr, sizeof(local_addr)); in ntest_0_entry()
151 ret = soc_close(sockfd1); in ntest_0_entry()
Dnetx_bsd_tcp_basic_blocking_test.c272 int sockfd1; in test_tcp_client4() local
306 sockfd1 = socket(AF_INET6, SOCK_STREAM, 0); in test_tcp_client4()
307 if(sockfd1 < 0) in test_tcp_client4()
315 ret = bind(sockfd1, (struct sockaddr*)&local_addr6, sizeof(local_addr6)); in test_tcp_client4()
319 ret = soc_close(sockfd1); in test_tcp_client4()
Dnetx_bsd_tcp_rcvbuf_test.c271 int sockfd1; in test_tcp_client4() local
310 sockfd1 = socket(AF_INET6, SOCK_STREAM, 0); in test_tcp_client4()
311 if(sockfd1 < 0) in test_tcp_client4()
319 ret = bind(sockfd1, (struct sockaddr*)&local_addr6, sizeof(local_addr6)); in test_tcp_client4()
323 ret = soc_close(sockfd1); in test_tcp_client4()
Dnetx_bsd_getaddrinfo_test.c323 int sockfd1; in test_tcp_client4() local
355 sockfd1 = socket(AF_INET6, SOCK_STREAM, 0); in test_tcp_client4()
356 if(sockfd1 < 0) in test_tcp_client4()
364 ret = bind(sockfd1, (struct sockaddr*)&local_addr6, sizeof(local_addr6)); in test_tcp_client4()
368 ret = soc_close(sockfd1); in test_tcp_client4()