Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IOHandler.ReadTimeout
#2
(11-18-2024, 01:12 AM)BartKindt Wrote: By default the (Client) IOHandler.ReadTimeout is set to -1.

That is IdTimeoutDefault.

(11-18-2024, 01:12 AM)BartKindt Wrote: What does this mean if it is not changed?  Is it internally setting another default, or wil it not time out at all, and keep waiting?

If ReadTimeout is set to IdTimeoutDefault then IdTimeoutInfinite will be used.

(11-18-2024, 01:12 AM)BartKindt Wrote: I have a situation where a ReadTimeout occurs all the time with the default settings, and the Client loops.

Are you performing a read operation that ignores the ReadTimeout, such as CheckForDataOnSource()? Can you show the actual code you are having trouble with?

Reply


Messages In This Thread
IOHandler.ReadTimeout - by BartKindt - 11-18-2024, 01:12 AM
RE: IOHandler.ReadTimeout - by rlebeau - 11-18-2024, 04:32 AM
RE: IOHandler.ReadTimeout - by BartKindt - 11-18-2024, 04:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)