Home
last modified time | relevance | path

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

/external/curl/lib/
Dconnect.c551 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 …]
Durl.c2914 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()
Durldata.h976 curl_socket_t tempsock[2]; /* temporary sockets for happy eyeballs */ member
Dmulti.c822 if(conn->tempsock[i] != CURL_SOCKET_BAD) { in waitconnect_getsock()
823 sock[s] = conn->tempsock[i]; in waitconnect_getsock()
Dftp.c906 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/
Dtest_support.py486 tempsock = socket.socket(family, socktype)
487 port = bind_port(tempsock)
488 tempsock.close()
489 del tempsock
Dtest_socket.py574 tempsock = socket.socket()
575 tempsock.bind((bind_address, 0))
576 host, port = tempsock.getsockname()
577 tempsock.close()