OpenDOF Project
DOSStatus DOSDPSSession_Initialize ( DOSDPSSession *  session,
uint8  sessionType 
)

Set The session type to sessionType and set all other session configuration to the defaults.

This must be called before calling DOSDPSSession_Open.

The defaults are: The session address is cleared. The session timeout is set to 30 seconds. Receive silence timer is set to 120 seconds. The security desire is set to DOSDPSSESSION_SECURITY_DESIRE_NOT_SECURE. The remote node security state cache level is set to DOS_REMOTE_NODE_CACHE_LEVEL_NORMAL. No Permissions

Note
Refer to the configure callback in DOSDPSSessionCallbacks_t for information on inbound sessions.
Parameters
sessionThe session that will be initialized. Must not be NULL
sessionTypeThe session type, must be one of the DOSDPSSESSION_TYPE defines.
Returns
DOSStatus DOSSTATUS_SUCCESS will be returned to indicate success.
core-c-cos Version 7.0.1 Build 0
2018-02-08