Lines Matching refs:connect
246 /* We want to find out the port number to connect to. */
252 if (connect(connector, (struct sockaddr *) &connect_addr,
481 if (connect(*fd_ptr, sa, socklen) < 0) {
500 /* Check whether a socket on which we called connect() is done
503 the connect operation. */
587 connect(fd, (struct sockaddr*)&sin, sizeof(sin)) == 0 &&
598 * never have given it to us; it could never connect
610 connect(fd, (struct sockaddr*)&sin6, sizeof(sin6)) == 0 &&
619 * never have given it to us; it could never connect
837 * connect to localhost. */
848 /* connect to ::1 */
865 /* connect to 127.0.0.1 */
1046 * that we'll only get addresses we could maybe connect to.