Searched refs:addrInet (Results 1 – 1 of 1) sorted by relevance
166 struct sockaddr_in addrInet; in netStartup() member169 addr.addrInet.sin_family = AF_INET; in netStartup()170 addr.addrInet.sin_port = htons(port); in netStartup()171 inet_aton("127.0.0.1", &addr.addrInet.sin_addr); in netStartup()344 struct sockaddr_in addrInet; in acceptConnection() member369 netState->remoteAddr = addr.addrInet.sin_addr; in acceptConnection()370 netState->remotePort = ntohs(addr.addrInet.sin_port); in acceptConnection()395 struct sockaddr_in addrInet; in establishConnection() member433 memcpy(&addr.addrInet.sin_addr, pEntry->h_addr, pEntry->h_length); in establishConnection()434 addr.addrInet.sin_family = pEntry->h_addrtype; in establishConnection()[all …]