Searched refs:sockin (Results 1 – 1 of 1) sorted by relevance
1049 struct sockaddr_in sockin; in xmlNanoHTTPConnectHost() local1057 memset (&sockin, 0, sizeof(sockin)); in xmlNanoHTTPConnectHost()1091 if ((size_t)res->ai_addrlen > sizeof(sockin)) { in xmlNanoHTTPConnectHost()1096 memcpy (&sockin, res->ai_addr, res->ai_addrlen); in xmlNanoHTTPConnectHost()1097 sockin.sin_port = htons (port); in xmlNanoHTTPConnectHost()1098 addr = (struct sockaddr *)&sockin; in xmlNanoHTTPConnectHost()1185 sockin.sin_family = h->h_addrtype; in xmlNanoHTTPConnectHost()1186 sockin.sin_addr = ia; in xmlNanoHTTPConnectHost()1187 sockin.sin_port = (unsigned short)htons ((unsigned short)port); in xmlNanoHTTPConnectHost()1188 addr = (struct sockaddr *) &sockin; in xmlNanoHTTPConnectHost()