Home
last modified time | relevance | path

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

/external/python/cpython2/Demo/pysvr/
Dpysvr.c107 struct sockaddr_in addr, clientaddr; in main_thread() local
140 size = sizeof clientaddr; in main_thread()
141 memset((char *) &clientaddr, '\0', size); in main_thread()
142 conn = accept(sock, (struct sockaddr *) &clientaddr, &size); in main_thread()
156 if (clientaddr.sin_addr.s_addr != addr.sin_addr.s_addr) { in main_thread()
161 ntohl(clientaddr.sin_addr.s_addr)); in main_thread()
169 create_thread(conn, &clientaddr); in main_thread()
/external/libcups/scheduler/
Dclient.h54 http_addr_t clientaddr; /* Client's server address */ member
Dclient.c143 addrlen = sizeof(con->clientaddr); in cupsdAcceptClient()
145 …if (getsockname(httpGetFd(con->http), (struct sockaddr *)&con->clientaddr, &addrlen) || addrlen ==… in cupsdAcceptClient()
146 con->clientaddr = lis->address; in cupsdAcceptClient()
148 …cupsdLogClient(con, CUPSD_LOG_DEBUG, "Server address is \"%s\".", httpAddrString(&con->clientaddr,… in cupsdAcceptClient()
Dipp.c7523 local = httpAddrLocalhost(&(con->clientaddr)); in get_printers()