SmartCode Solutions Web Forum




Changing timeout value

Expand / Collapse
Author Message
 Posted Thursday, November 06, 2008
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: Wednesday, November 19, 2008
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

Post #2241
Add to Twitter Add to Facebook
 Posted Friday, November 07, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2 days ago @ 4:49 PM
Posts: 1,248, Visits: 2,125
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.



Kindest Regards,
SmartCode Solutions Support

Post #2242
Add to Twitter Add to Facebook


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse