Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

inet_pton, inet_ntop - additional header file needed (CrCh208)

NW Impacts

Problem description

The inet_pton and inet_ntop functions on HP-UX require the following header file:

#include <sys/socket.h>


C/C++ Functionsinet_ntop C/C++ Functionsinet_pton      

See also

Solution description

Modify your code.

Applications that use these functions must add the following header file for the functions to work correctly:

#include <sys/socket.h>
Review the applicable manpages and code for more information.

See also

Problem summary

classifications source types OS release severity type
NW C, C++ any HP-UX 11i version critical changed
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.