I'm implementing a client-server communication using openSSL and after the handshake, I want to send some application data from the client to the server. Now, I know that I can use SSL_write and then just flush the buffer to send the data across.
Right now, this is what I'm doing:
int send_data(SSL* s, char* text)
{
return(SSL_write(s, text, strlen(text)));
}
This works, but I want to know if there are any other functions that I can use instead of SSL_write.
Aucun commentaire:
Enregistrer un commentaire