HPlogo HP-UX IPv6 Porting Guide: HP-UX 11i v2 September 2004 > Chapter 10  Converting Binary and Text Addresses

Converting a Text Address to Binary

» 

Technical documentation

Complete book in PDF

 » Table of Contents

Syntax

void inet_pton(int addr_family, const char *strptr, void *addrptr)

The inet_pton() function call converts the IP address pointed to by strptr, from presentation (string) format to numeric (binary) format, in the buffer pointed to by addrptr.

© 2004 Hewlett-Packard Development Company, L.P.