Hi,
again a relative simple question... but I found no answer:

I wrote a simple server, which accepts connections as usual. I passed a SOCKADDR_IN-struct to the accept-call to obtain Client-IP, port etc.
But how to "decrypt" the IP from SOCKADDR_IN.sin_addr ?
I know that there is a function for "encrypting" an IP-string to an IP-Address. But I have an IP-Address and want a string representation.

I'm sure somebody can tell me ;o)

Thanx in advance

Juergen