Convert IP4_ADDRESS to string ?
-
Been playing around with DnsQuery() but i can't find a way to convert from IP4_ADDRESS to a string. Hoping you can help me. ScorpioMidget
-
Been playing around with DnsQuery() but i can't find a way to convert from IP4_ADDRESS to a string. Hoping you can help me. ScorpioMidget
-
Been playing around with DnsQuery() but i can't find a way to convert from IP4_ADDRESS to a string. Hoping you can help me. ScorpioMidget
Does gethostbyaddr() or inet_ntoa() work for you?
-
Microsoft provides functions to retrieve the four bytes of the IP adress. So call them one after another, and use a CString or strcat to concatenate the result. ~RaGE();
Many thanks, i've got it working now. ScorpioMidget
-
Does gethostbyaddr() or inet_ntoa() work for you?
Not tried them yet, will have a go in a few minutes. ScorpioMidget