Home
last modified time | relevance | path

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

/glibc-2.36/socket/
Dtst-accept4.c86 int server_socket = xsocket (AF_INET, SOCK_STREAM, 0); in do_test() local
87 TEST_VERIFY (!is_nonblocking (server_socket)); in do_test()
88 TEST_VERIFY (!is_cloexec (server_socket)); in do_test()
94 xbind (server_socket, in do_test()
98 xgetsockname (server_socket, (struct sockaddr *) &server_address, in do_test()
102 xlisten (server_socket, 5); in do_test()
116 int client_socket = xaccept4 (server_socket, in do_test()
127 xclose (server_socket); in do_test()
/glibc-2.36/resolv/
Dtst-resolv-res_init-skeleton.c970 int server_socket = xsocket (AF_INET, SOCK_DGRAM, 0); in start_dummy_server() local
978 int ret = bind (server_socket, (struct sockaddr *) &sin, sizeof (sin)); in start_dummy_server()
1004 (server_socket, &packet, sizeof (packet), in start_dummy_server()
1015 ret = sendto (server_socket, &packet, ret, in start_dummy_server()
1026 xclose (server_socket); in start_dummy_server()