Searched refs:server_socket (Results 1 – 2 of 2) sorted by relevance
/glibc-2.36/socket/ |
D | tst-accept4.c | 86 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/ |
D | tst-resolv-res_init-skeleton.c | 970 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()
|