An application can ask for the current state of a dial-up connection. This is a conventional synchronous function that just fetches the current state.
To do this, an application simply calls the Progress()
member function of RNif
(prior to v7.0S) or RConnection
(from v7.0S), passing it a TNifProgress
object. On return, the iStage
data member of the
TNifProgress
object contains the information defining the current
state of the connection.