Parameters & Returns
Parameters
Returns
Quick Summary
Converts a 32-bit integer IP address to dotted notation string.
Takes an IP address (Int).
Returns the IP in dotted notation (String).
Technical Exegesis...
Converts an unsigned long (32-bit) IP address to a human-readable dotted notation string (e.g., "192.168.1.100"). The IP parameter should be in network byte order (as used internally by sockets).
Uses inet_ntoa to convert the in_addr structure to string. Useful for displaying IP addresses that are stored or received in numeric format. The conversion handles byte ordering automatically.