Function sapnwrfc::binding::RfcIsConnectionHandleValid
[−]
[src]
pub unsafe extern "C" fn RfcIsConnectionHandleValid(
rfcHandle: RFC_CONNECTION_HANDLE,
isValid: *mut c_int,
errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC
Checks an RFC connection
Can be used to check whether a client/server connection has already been closed, or whether the NW RFC library still "considers" the connection to be open. Note that this does not guarantee that the connection is indeed still alive: A firewall may silently have closed the connection without notifying the endpoints. If you want to find out, whether the connection is still alive, you'll have to use the more expensive RfcPing().
\in rfcHandle Connection to be checked \out *isValid 1, if the connection is still found in the internal connection management, 0 otherwise. \out *errorInfo Error details in case the connection is invalid. \return RFC_RC