(10-15-2019, 05:15 PM)BartKindt Wrote: I will first try your ideas, but I just wonder if it would work under Android.
It should, if everything is configured properly. It would help if you could show your actual code that is not working for you.
(10-15-2019, 05:15 PM)BartKindt Wrote: Must be me, but I cannot find ant reference to TIdTCPConnection.Socket.SetSockOpt().
It is not in TIdTCPConnection.Socket, not in TIdIOHandlerSocket, not in TIdIOHandler.
Sorry, I meant TIdTCPConnection.Socket.Binding.SetSockOpt() (forgot the Binding property).
TIdTCPClient derives from TIdTCPConnection, which has a Socket property of type TIdIOHandlerSocket, which has a Binding property of type TIdSocketHandle, which has the SetSockOpt() method.