Danijel, thanks for the previous answer, but i have more questions.
Client program is always waiting data from Server in parallel threads (one client program has many connections to server) by this code:
self.f_connection_module.Data.NewFunction(CF_WAIT);
self.f_connection_module.Call(f_cr_wait);
I used your advice to implement events such as OnRepostCheck, OnResponseAbort, RequestAbort. But when i turn off ethernet cable from client these events are not triggered. Only OnConnectLost and OnDisconnect are triggered 10-15 seconds later. Here is code:
procedure RtcHttpClient1ConnectLost(Sender: TRtcConnection);
begin
f_connection_module.SkipRequests;
f_connection.DisconnectNow(true);
end;
But << self.f_connection_module.Call(f_cr_wait) >> is not ending.
How i can force ending to this Call?
Thanks a lot, Danijel, and sorry for my English.