Searched refs:portsock (Results 1 – 1 of 1) sorted by relevance
/external/curl/lib/ |
D | ftp.c | 929 curl_socket_t portsock = CURL_SOCKET_BAD; in ftp_state_use_port() local 1106 portsock = CURL_SOCKET_BAD; in ftp_state_use_port() 1109 result = Curl_socket(conn, ai, NULL, &portsock); in ftp_state_use_port() 1135 if(bind(portsock, sa, sslen) ) { in ftp_state_use_port() 1149 Curl_closesocket(conn, portsock); in ftp_state_use_port() 1159 Curl_closesocket(conn, portsock); in ftp_state_use_port() 1172 Curl_closesocket(conn, portsock); in ftp_state_use_port() 1179 if(getsockname(portsock, (struct sockaddr *)sa, &sslen)) { in ftp_state_use_port() 1182 Curl_closesocket(conn, portsock); in ftp_state_use_port() 1188 if(listen(portsock, 1)) { in ftp_state_use_port() [all …]
|