When the stack is use to drive network connectivity on a platform like a PC-XT with SLIP, it is desirable to close the serial connection before exiting back to a DOS prompt. Add a stack shut down functionality:
(1) stack_close() function
(2) #1 will call registered clean up function, for example driver close function. This can be used to call a SLIP driver's shut down/clean up that disabled interrupts etc.
When the stack is use to drive network connectivity on a platform like a PC-XT with SLIP, it is desirable to close the serial connection before exiting back to a DOS prompt. Add a stack shut down functionality: (1) stack_close() function (2) #1 will call registered clean up function, for example driver close function. This can be used to call a SLIP driver's shut down/clean up that disabled interrupts etc.