Is it necessary to set timeout Hint to any value or can it be set to 0 which refers to no timeouts|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Is it necessary to set timeout Hint to any value or can it be set to 0 which refers to no timeouts
Avatar
Sameer Gillurkar
Member
Members
Forum Posts: 9
Member Since:
11/21/2019
sp_UserOfflineSmall Offline
1
07/29/2021 - 07:28
sp_Permalink sp_Print

Test Case: Session Client General Service Behaviour: 007

Test case Description: Ensure that the client is setting the timeoutHint to a useful value.

Expected Result: TimeoutHint shall be set high enough to allow the server the processing of the request and providing a response. E.g. setting the timeoutHint to a few ms would timeout the request before the being received by the server in many cases.

The current test case suggests keeping the timeoutHint to a useful value. I want to know whether is it really necessary to set it to any value or will it be fine, if it is to 0.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
07/29/2021 - 12:04
sp_Permalink sp_Print

As it says - it needs to be useful. 0 is not useful.

Anyone designing a client will have a timeout set on all network calls. It would be poor programming practice if you did not. This timeout is often the most appropriate value for the timeoutHint.

Avatar
Sameer Gillurkar
Member
Members
Forum Posts: 9
Member Since:
11/21/2019
sp_UserOfflineSmall Offline
3
07/29/2021 - 22:40
sp_Permalink sp_Print

Thanks Randy.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 26
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855