Searched refs:tempsock (Results 1 – 7 of 7) sorted by relevance
/external/curl/lib/ |
D | connect.c | 551 curl_socket_t fd_to_close = conn->tempsock[tempindex]; in trynextip() 552 conn->tempsock[tempindex] = CURL_SOCKET_BAD; in trynextip() 580 result = singleipconnect(conn, ai, &conn->tempsock[tempindex]); in trynextip() 756 if(conn->tempsock[i] == CURL_SOCKET_BAD) in Curl_is_connected() 763 (void)verifyconnect(conn->tempsock[i], NULL); in Curl_is_connected() 767 rc = SOCKET_WRITABLE(conn->tempsock[i], 0); in Curl_is_connected() 784 if(verifyconnect(conn->tempsock[i], &error)) { in Curl_is_connected() 788 conn->sock[sockindex] = conn->tempsock[i]; in Curl_is_connected() 790 conn->tempsock[i] = CURL_SOCKET_BAD; in Curl_is_connected() 793 if(conn->tempsock[other] != CURL_SOCKET_BAD) { in Curl_is_connected() [all …]
|
D | url.c | 2914 if(CURL_SOCKET_BAD != conn->tempsock[0]) in conn_free() 2915 Curl_closesocket(conn, conn->tempsock[0]); in conn_free() 2916 if(CURL_SOCKET_BAD != conn->tempsock[1]) in conn_free() 2917 Curl_closesocket(conn, conn->tempsock[1]); in conn_free() 4075 conn->tempsock[0] = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn() 4076 conn->tempsock[1] = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn()
|
D | urldata.h | 976 curl_socket_t tempsock[2]; /* temporary sockets for happy eyeballs */ member
|
D | multi.c | 822 if(conn->tempsock[i] != CURL_SOCKET_BAD) { in waitconnect_getsock() 823 sock[s] = conn->tempsock[i]; in waitconnect_getsock()
|
D | ftp.c | 906 if(conn->tempsock[i] != CURL_SOCKET_BAD) { in ftp_domore_getsock() 907 socks[s] = conn->tempsock[i]; in ftp_domore_getsock()
|
/external/python/cpython2/Lib/test/ |
D | test_support.py | 486 tempsock = socket.socket(family, socktype) 487 port = bind_port(tempsock) 488 tempsock.close() 489 del tempsock
|
D | test_socket.py | 574 tempsock = socket.socket() 575 tempsock.bind((bind_address, 0)) 576 host, port = tempsock.getsockname() 577 tempsock.close()
|