Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

autoreconnect

Post Reply
JSLayton
Posts: 4
Joined: 2006-03-17 20:47

autoreconnect

Post by JSLayton »

Can someone explain exactly what the autoreconnect option actually does? Does it reconnect after a reboot or just if the connection gets dropped or both?
kaldag
Former moderator
Former moderator
Posts: 179
Joined: 2005-12-13 17:36
Location: Washington, Il
Contact:

Re: autoreconnect

Post by kaldag »

Connects when connection is lost not after re-boot.

Ken
agurcsik
Posts: 2
Joined: 2007-07-12 01:49

Re: autoreconnect

Post by agurcsik »

How long should I wait for a reconnect? It doesn't seem to be reconnecting at all and I end up quiting the viewer and restarting it, then have the user click connect again.
kaldag
Former moderator
Former moderator
Posts: 179
Joined: 2005-12-13 17:36
Location: Washington, Il
Contact:

Re: autoreconnect

Post by kaldag »

How are you using the autoreconnect feature??

Ken
Failure is not an option.

Gene Kranz - Apollo 13 Mission Control
agurcsik
Posts: 2
Joined: 2007-07-12 01:49

Re: autoreconnect

Post by agurcsik »

I start the viewer on my end with reconnect enabled. The customer runs the executable on their end, but I believe that they keep being dropped and reconnected to their wireless router. When the network drops, the remote screen stops responding and does not reconnect. Maybe I am not waiting long enough?
kaldag
Former moderator
Former moderator
Posts: 179
Joined: 2005-12-13 17:36
Location: Washington, Il
Contact:

Re: autoreconnect

Post by kaldag »

Did you build your executable with the autoreconnect feature enabled?? Has to be on both ends.

Ken
Failure is not an option.

Gene Kranz - Apollo 13 Mission Control
UltraSam
Admin & Developer
Admin & Developer
Posts: 462
Joined: 2004-04-26 20:55
Contact:

Re: autoreconnect

Post by UltraSam »

The autoreconnect option must be used on SERVER side

From http://www.uvnc.com/install/cmdline.html

WinVNC Command line help:

-autoreconnect
Is used in conjunction with the -connect switch when having a server "back-connect" to a listening viewer. You can use it in a batch file for your clients that are behind a firewall that is not under your control. The batch file looks something like this:
"c:\program files\ultravnc\winvnc" -autoreconnect -connect 12.34.56.78
On the local computer run the viewer in "listening" mode, and have someone on the server end run the batch file. The -autoreconnect will make the server end attempt to reconnect to the listening viewer if the connection drops or is closed. It will immediately reconnect to the listening viewer if the session is closed. Close the listening viewer altogether in order to stop the server end from "autoreconnecting" to your computer. The server attempts to "autoreconnect" for only a few seconds.
Note that this "autoreconnect" param must be before the "connect" one on the command line!
UltraSam
Post Reply