do_dtls1_write
i = do_dtls1_write(s, SSL3_RT_ALERT, &buf[0], sizeof(buf), &written);
i = do_dtls1_write(s, type, buf, len, written);
int do_dtls1_write(SSL_CONNECTION *s, uint8_t type, const unsigned char *buf,