Hello,
I've done a simple test using the following code to send a Text message
var
i: integer;
s: string;
begin
for i := 1 to 10000000 do
s := s + '0';
WSClient.WriteData(s);
I connect to demo server which echoes the message (
http://www.esegece.com:5414) and works well, it sends the message and is received correctly.
Which is the size of the message you are sending? The message is received by server? or the connection is blocked while writing?
Check if you receive something in the server when android sends the message, maybe is something related with the size of the message.
Kind regards,
Sergio