Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIdTCPClient on Android: Can't catch Exception Popup - Socket Error #107
#4
I found a work arround today, but unsure if this is a good practice:

The IdTCPClient.Connect was done inside a TThread to prevent delays in the main task.
For android only I run the Connect instruction in Synchronized(FClient.Connect).

Since that, the Socket Error 107 is disapperared, only the EIdSocketError is called.

Are there options to update the Indy code that the connect is operable even when called from a thread ?
Reply


Messages In This Thread
RE: TIdTCPClient on Android: Can't catch Exception Popup - Socket Error #107 - by Peter_WB - 06-19-2020, 03:36 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)