Searched refs:hostEntry (Results 1 – 2 of 2) sorted by relevance
94 struct hostent *hostEntry; in main() local115 hostEntry = gethostbyname(hostName); in main()117 if (hostEntry == NULL) { in main()123 hostEntry->h_name, in main()124 inet_ntoa(*(struct in_addr *)hostEntry->h_addr_list[0])); in main()128 udpRemoteServerAddr.sin_family = hostEntry->h_addrtype; in main()130 hostEntry->h_addr_list[0], hostEntry->h_length); in main()135 tcpRemoteServerAddr.sin_family = hostEntry->h_addrtype; in main()137 hostEntry->h_addr_list[0], hostEntry->h_length); in main()142 mcastRemoteServerAddr.sin_family = hostEntry->h_addrtype; in main()[all …]
60 struct hostent *hostEntry; variable90 hostEntry = gethostbyname(argv[1]); in main()92 if (hostEntry == NULL) { in main()98 memcpy(&multiCastAddr, hostEntry->h_addr_list[0], hostEntry->h_length); in main()