Lines Matching refs:port
413 unsigned short port = data->set.localport; /* use this port number, 0 for
415 /* how many port numbers to try to bind to, increasing one at a time */
429 if(!dev && !port)
560 si6->sin6_port = htons(port);
583 si4->sin_port = htons(port);
602 si6->sin6_port = htons(port);
609 si4->sin_port = htons(port);
629 infof(data, "Local port: %hu", port);
635 port++; /* try next port */
636 if(port == 0)
638 infof(data, "Bind to local port %d failed, trying next", port - 1);
639 /* We reuse/clobber the port variable here below */
641 si4->sin_port = ntohs(port);
644 si6->sin6_port = ntohs(port);
780 int r_port; /* remote port number */
782 int l_port; /* local port number */
962 /* store remote address and port used in this connection attempt */
1040 /* possibly bind the local end to an IP, interface or port */
1168 CURL_TRC_CF(data, cf, "local address %s port %d...",
1215 infof(data, "connect to %s port %u from %s port %d failed: %s",
1239 *pport = cf->conn->port;
1940 ", remote=%s port=%d)",