int sm_dtlstx_send_packet(struct sm_dtlstx_send_packet_parms *packetp)
typedef struct sm_dtlstx_send_packet_parms {
tSMDTLStxId dtlstx; /* in */
char *data; /* in */
tSM_INT packet_length; /* in */
} SM_DTLSTX_SEND_PACKET_PARMS;
Sends a packet using a DTLS[tx].
Requires the module dtlstx to have been downloaded.
0 if call completed successfully, otherwise a standard error.
This function is part of the Prosody DTLS processing API.