Home | History | Annotate | Download | only in pppd

Lines Matching refs:sock

872     int sock, port = -1;
899 sock = socket(PF_INET, SOCK_STREAM, 0);
900 if (sock < 0) {
908 if (connect(sock, (struct sockaddr *)&sad, sizeof(sad)) < 0) {
910 close(sock);
914 return sock;