Lines Matching refs:addr_len
40 socklen_t addr_len; in ConnectAndAccept() local
60 addr_len = sizeof(sa); in ConnectAndAccept()
87 addr_len = sizeof(sa); in ConnectAndAccept()
89 (struct sockaddr*)(&sa), &addr_len)) == -1) { in ConnectAndAccept()
100 socklen_t addr_len; in CreateServer() local
107 addr_len = sizeof(sa); in CreateServer()
115 if (getsockname(*server_fd, (struct sockaddr*)(&sa), &addr_len) == -1) { in CreateServer()
129 socklen_t addr_len; in CreateServerConnectAndAccept() local
136 addr_len = sizeof(sa); in CreateServerConnectAndAccept()
145 if (getsockname(server_fd, (struct sockaddr*)(&sa), &addr_len) == -1) { in CreateServerConnectAndAccept()
191 addr_len = sizeof(sa); in CreateServerConnectAndAccept()
193 (struct sockaddr*)(&sa), &addr_len)) == -1) { in CreateServerConnectAndAccept()
221 socklen_t addr_len = sizeof(sa); in ThreadedStartServer() local
253 &addr_len)) == -1) { in ThreadedStartServer()
270 socklen_t addr_len = sizeof(sa); in ThreadedCreateServerConnectAndAccept() local
278 if (getsockname(server_fd, (struct sockaddr*)(&sa), &addr_len) == -1) { in ThreadedCreateServerConnectAndAccept()