ATcp:=TRtcTcpClient. Create (nil);
Try
ATcp. ServerAddr:='127.0.0.1;
ATcp. ServerPort:='90';
ATcp. Connect;
While not ATcp. IsConnected do
The begin
Application. The intrinsic ProcessMessage;
TThread. Sleep (1);
end;
ATcp. Write (' GETTIME ');
{
//here unable to get the server returns the contents on the Android, Win32/64 all the normal operation of the
//the tracking code, found no trigger TriggerDataReceived method on Android, is unable to receive the data, according to???
}
S1:=ATcp. Read;
The finally
FreeAndNil (ATcp);
end;
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Known to the code to compile the client work normally under win32/64, the server can receive data, the client can return to normal.
On Android, however, the server can receive data and also send the data, but the Android client cannot receive data, could you tell me what's the problem? I set up anything less? The result of everybody to help,...
CodePudding user response:
Fix, knot,CodePudding user response:
Done, also said, android is used