Home | History | Annotate | Download | only in helpers

Lines Matching refs:afd

1051     int afd = -1, cfd = -1, sfd = -1;
1057 afd = BIO_socket(AF_INET, socktype,
1059 if (afd == INVALID_SOCKET)
1062 if (bind(afd, (struct sockaddr *)&sin, sizeof(sin)) < 0)
1065 if (getsockname(afd, (struct sockaddr *)&sin, &slen) < 0)
1073 if (socktype == SOCK_STREAM && listen(afd, 1) < 0)
1081 if (!BIO_socket_nbio(afd, 1))
1090 sfd = afd;
1091 afd = -1;
1095 sfd = accept(afd, NULL, 0);
1118 if (afd != -1)
1119 close(afd);