Lines Matching refs:portsock
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()
1173 Curl_closesocket(conn, portsock); in ftp_state_use_port()
1228 Curl_closesocket(conn, portsock); in ftp_state_use_port()
1259 Curl_closesocket(conn, portsock); in ftp_state_use_port()
1276 conn->sock[SECONDARYSOCKET] = portsock; in ftp_state_use_port()