Searched refs:portsock (Results 1 – 1 of 1) sorted by relevance
/external/curl/lib/ |
D | ftp.c | 909 curl_socket_t portsock = CURL_SOCKET_BAD; in ftp_state_use_port() local 1088 portsock = CURL_SOCKET_BAD; in ftp_state_use_port() 1091 result = Curl_socket(conn, ai, NULL, &portsock); in ftp_state_use_port() 1117 if(bind(portsock, sa, sslen) ) { in ftp_state_use_port() 1131 Curl_closesocket(conn, portsock); in ftp_state_use_port() 1141 Curl_closesocket(conn, portsock); in ftp_state_use_port() 1154 Curl_closesocket(conn, portsock); in ftp_state_use_port() 1161 if(getsockname(portsock, (struct sockaddr *)sa, &sslen)) { in ftp_state_use_port() 1164 Curl_closesocket(conn, portsock); in ftp_state_use_port() 1170 if(listen(portsock, 1)) { in ftp_state_use_port() [all …]
|