mateusvicente100 / bird-socket-client

This is a client for websocket connection in Delphi.
MIT License
81 stars 27 forks source link

When I test this client lib, and find that in the Android, the string send to the server lost the last character. #3

Closed wqmeng closed 2 years ago

wqmeng commented 3 years ago

Such as

Send 'Hello server', On the server side, only get 'Hello serve' . Not sure what the matter.

mateusvicente100 commented 3 years ago

Hello @wqmeng. I didn't use the client on FMX yet, just on VCL. I don't know what about the compatibility of Indy Socket on FMX, but I will do a test to see this, or, if you can send me a simple client aplication witih this error to me test.

wqmeng commented 3 years ago

Hello @mateusvicente100 ,

I ported the demo in the client package to Android, and still the same result. The server side will lost the last character send from the client.

I have attached the test project, to deploy it, it will need the ssl support, in the deployment panel, set up two libcrypto.so, libssl.so

local path is ssl\, remote path is assets\internal\

Thank you.

Snipaste_2021-03-01_21-41-35

TestBirdWebsocketClient.zip

mateusvicente100 commented 2 years ago

Solved in issue #10