Changing timeout value


Author
Message
vivekgargs
vivekgargs
Supreme Being (354 reputation)Supreme Being (354 reputation)Supreme Being (354 reputation)Supreme Being (354 reputation)Supreme Being (354 reputation)Supreme Being (354 reputation)Supreme Being (354 reputation)Supreme Being (354 reputation)Supreme Being (354 reputation)
Group: Forum Members
Posts: 2, Visits: 2
Hi,

We are currently using VNC ViewerX component. We wish to establish a direct connection with VNC server and should it fail for some reason we would want to go through a repeater.

Query: When our direct connection fails VNC ViewerX takes 20 seconds to notify our application and then we initiate a connection through repeater. We want to reduce the notification timeout value from the current default of 20 seconds. We are unable to find any such property in the component.

Please Advise and comment.

Vivek Garg

Yury Averkiev (s-code)
Yury Averkiev (s-code)
Supreme Being (214K reputation)Supreme Being (214K reputation)Supreme Being (214K reputation)Supreme Being (214K reputation)Supreme Being (214K reputation)Supreme Being (214K reputation)Supreme Being (214K reputation)Supreme Being (214K reputation)Supreme Being (214K reputation)
Group: Administrators
Posts: 1.9K, Visits: 3.6K
Hi,
there is no way to change the timeout value. When you execute the Connect() method ViewerX opens a  socket and attempts to establish a remote connection. If remote computer is unreachable the connection will fail for a corresponding error. 20 seconds that you mentioned is the approximate time needed for a socket to decide that remote computer is not responding and cancel the connection attempt.

Microsoft's RDP ActiveX has exactly the same behavior as ViewerX. It takes RDP ActiveX about 15-20 seconds when you try to establish connection to a non-existing address.

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
Regards,

Yury Averkiev, SmartCode

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Explore
Messages
Mentions
Search