masterIpcAyt( )

NAME

masterIpcAyt( ) - check the status of the IPC link

SYNOPSIS

INT_32_T masterIpcAyt 
    ( 
    PTR_T  ipchandle  /* pointer to IPC handle */ 
    )

DESCRIPTION

This is an "are you there" routine. The SNMP master agent calls this routine whenever it needs to do a status check on the IPC link to the address ipchandle. This routine puts a null-buffer message of type IPC_AYT on the subagent's message queue. If the subagent replies with a message of the same type, the link is considered active.

RETURNS

0, if the link is inactive; 1, if the link is active.

SEE ALSO

masterIoLib