Home
last modified time | relevance | path

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

/curl/lib/
H A Dftp.c853 curl_socket_t portsock = CURL_SOCKET_BAD; in ftp_state_use_port() local
1025 if(Curl_socket_open(data, ai, NULL, conn->transport, &portsock)) { in ftp_state_use_port()
1052 if(bind(portsock, sa, sslen) ) { in ftp_state_use_port()
1093 if(getsockname(portsock, sa, &sslen)) { in ftp_state_use_port()
1103 if(listen(portsock, 1)) { in ftp_state_use_port()
1199 result = Curl_conn_tcp_listen_set(data, conn, SECONDARYSOCKET, &portsock); in ftp_state_use_port()
1201 portsock = CURL_SOCKET_BAD; /* now held in filter */ in ftp_state_use_port()
1222 if(portsock != CURL_SOCKET_BAD) in ftp_state_use_port()
1223 Curl_socket_close(data, conn, portsock); in ftp_state_use_port()

Completed in 15 milliseconds