Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIdTelnet
#1
Hi

I'm using TIdTelnet client in my Firemonkey project to receive streaming text.

Works fine for iOS and Android, but on Windows I cannot detect when the client was disconnected by the server.  If I try to send data on the closed socket I get 10054 error.

I tried OnDisconnect and OnStatus events, but it seems that those are not called when the socket is closed by the server.

How can I detect that the client was disconnected by the server on Windows ?

Thanks
Omar
Reply


Messages In This Thread
TIdTelnet - by omarreis - 08-23-2022, 11:32 AM
RE: TIdTelnet - by rlebeau - 08-23-2022, 04:29 PM
RE: TIdTelnet - by omarreis - 08-24-2022, 12:15 PM
RE: TIdTelnet - by rlebeau - 08-25-2022, 05:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)