IPX/SPX Programming Manual

Library Routines
HP NonStop IPX/SPX Programming Manual528022-001
5-58
socket_backup
Usage Guideline
The user need only use checkpoint on the open information for the listening socket,
because all open sockets are closed as a result of the backup application takeover and
an ECONNRESET returned to all operations on these sockets. The application is then
responsible for end-to-end resynchronization of the data stream. Upon takeover, the
backup process is only required to post a new listen on the existing (checkpointed)
socket by issuing a call to accept_nw().
The message is the information that was checkpointed as a result of the primary
process calling socket_get_open_info(). The brother_phandle is the phandle
of the primary application process and can be obtained from a call to
PROCESS_GETPAIRINFO. For more information on handling backup opens, refer to
the FILE_OPEN_() procedure call in the Guardian Procedure Calls Reference Manual.