inet_ntop() function

I want to print the ip addres to the screen and i want to use the inet_ntop()
function but when i run the program i've got this error :
"The procedure entry inet_ntop could not be located in dinamic link library ws2_32.dll."
I found that i can't use this function if my windows version is under vista.
But how can i replace that with other function?
inet_ntoa
The inet_ntoa function converts an (Ipv4) Internet network address into an ASCII string in Internet standard dotted-decimal format.



Topic archived. No new replies allowed.