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:

sockatmark - not supported; temporarily available (CrUn174)

ME Impacts NW Impacts

Problem description

The sockatmark function exists on Tru64 UNIX, but not on HP-UX. This function is available on a temporary basis in the Tru64 UNIX Migration Environment for HP-UX.

The sockatmark function enables applications to determine which received data precedes the out-of-band data and which data follows the out-of-band data.

The Migration Environment contains Tru64 UNIX Application Programming Interfaces (APIs), development tools, and commands and utilities to assist customers in migrating their applications from Tru64 UNIX to HP-UX.


C/C++ Functionssockatmark      

Old behavior

atmark = sockatmark(s);

See also

Solution description

The sockatmark function is in the Tru64 UNIX Migration Environment for HP-UX.

Applications will be able to use this function from the Tru64 UNIX Migration Environment for HP-UX. Please note that the Migration Environment is temporary.

For a long-term solution, recode your application and replace the sockatmark function with an ioctl call with the SIOCATMARK request parameter.

New behavior

ioctl(s, SIOCATMARK, (char *)&atmark);

See also

Problem summary

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