Home
last modified time | relevance | path

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

/curl/tests/libtest/
H A Dlib1960.c76 curl_socket_t client_fd = CURL_SOCKET_BAD; in test() local
95 client_fd = socket(AF_INET, SOCK_STREAM, 0); in test()
96 if(client_fd == CURL_SOCKET_BAD) { in test()
109 status = connect(client_fd, (struct sockaddr*)&serv_addr, sizeof(serv_addr)); in test()
123 test_setopt(curl, CURLOPT_OPENSOCKETDATA, &client_fd); in test()
135 if(client_fd != CURL_SOCKET_BAD) in test()
136 sclose(client_fd); in test()

Completed in 4 milliseconds