Displaying 1 result from an estimated 1 matches for "ripdaveno".
2005 Dec 13
0
Re: gethostbyname(my_name) and IL2-Sturmovik
> Ok, I've just checked doing the same thing under windows.
>
> The test(ripdaveno is the name of the Computer I tested on):
>
> {
> ...
> hostent* h = gethostbyname("ripdaveno");
> char* str = inet_ntoa(*((in_addr*)h->h_addr_list[0]));
> ...
> }
>
> The string in str was "192.168.2.75" which is my Network IP-Adress. With
>...