The SNALinkDispatchProc function is the link dispatcher function. The Base calls this function whenever one of the following events occurs:
VOID SNALinkDispatchProc(
PTRBFHDR msgptr,
INTEGER function,
INTEGER locality
);
The function parameter can have one of three values:
| 0 | Message received. |
| SBLOST | Contact lost with local node; L-value of locality. |
| SBTICK | Base timer has expired; occurs every five seconds. |
See Sample Code for SNALinkDispatchProc for suggested usage of this function.