Home
last modified time | relevance | path

Searched refs:listening_sock (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/bio/
Dbio_test.cc74 int listening_sock = socket(AF_INET, SOCK_STREAM, 0); in TestSocketConnect() local
75 if (listening_sock == -1) { in TestSocketConnect()
79 ScopedSocket listening_sock_closer(listening_sock); in TestSocketConnect()
88 if (bind(listening_sock, (struct sockaddr *)&sin, sizeof(sin)) != 0) { in TestSocketConnect()
92 if (listen(listening_sock, 1)) { in TestSocketConnect()
97 if (getsockname(listening_sock, (struct sockaddr *)&sin, &sockaddr_len) || in TestSocketConnect()
119 int sock = accept(listening_sock, (struct sockaddr *) &sin, &sockaddr_len); in TestSocketConnect()