SSL_WRITE is merging messages when sent in different functions for TLS over TCP [duplicate]
问题 This question already has answers here : What is a message boundary? (2 answers) Is there any way to flush the SSL write buffer (2 answers) Closed last month . I am writing a client to send data to remote server. I am 3 different messages (hello, hello1, hello2) using SSL_WRITE , but in server I can see only single message is sent like this: hellohello1hello2 . Can someone please help what am I missing here, why separate hello, hello1 and hello2 messages are not sent but a string