int sm_dtlstx_create(struct sm_dtlstx_create_parms *dtlstxp)
typedef struct sm_dtlstx_create_parms { tSMDTLStxId dtlstx; /* out */ tSMModuleId module; /* in */ } SM_DTLSTX_CREATE_PARMS;
Allocates, on a specific module, a new DTLS[tx] to transmit DTLS packets to a remote device.
If the call completes successfully, the parameter dtlstx will be set to the identifier for that DTLS[tx].
Requires the module dtlstx to have been downloaded.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody DTLS processing API.