简体   繁体   中英

OutputStream issue in sslsocket on android lollipop

I've got an android SSL client communicating with ac# ssl server. I have noticed a strange behaviour on the sslsocket on android lollipop. When I send some data to the server eg. "Hello Server" the server reads only the first character out of the data I sent but when I try the same code on a device lower than lollipop the server reads the whole message in one go. Any thoughts on this?

Just put dash(-) while making string. than u can write ur data to server. In ssl it read security type so u should write than blank or dash(-). If it will work pls let me know.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM