dlm_TapState()
Returns the current state of the session.
#include "dlmtap.h" DlmState dlm_TapState ( DlmLine line );
line | id of session to check |
dlm_TapState() returns the current state of the session.
dlm_TapState() returns the current state of the session. The possible state values can be found in dlmdef.h.
while (dlm_TapState(id) != dlm_STATE_OPEN) { /* do something */ }