
February 25th, 2013, 08:01 AM
|
 |
Contributing User
|
|
Join Date: Aug 2003
Location: UK
|
|
|
IP V6 and V4 addresses have different formatting conventions and when stored as an address rather than a string, different data types to.
inet_pton() converts an IPV4 and IPV6 addresses in "digits and dots" or "hex and colon" form to an in_addr or in6_addr structure.
|