Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIdTCPClient on Android: Can't catch Exception Popup - Socket Error #107
#3
Thank you for the fast answer.
The App is Build by Delphi in Rad Studio Rio 10.3.3.

While debugging the code, I found out that at first the exception On E: EIdSocketError Do is called as expected and the instructions there are operated.
Afterwards, the Socket Error 107 is operated.

When i stop the program by breakpoint in the exception handling, the Socket Error 107 is poping up, when I continue the program.

I tried to freeAndNil the TIdTCPClient as first on exception, but the Socket Error 107 still is poping up.

But I'm able to know about an failed connection and I'm able to give a notice to the user. But I was not able to suppress the socket error message.

This must be an exeption of internal network layers, i don't know how to catch this exception in my application.

The issue is only at Android 32 Bit and 64 Bit using Andriod SDK 25.2.5, IOS ist working well.
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)