Hi, there
I've came across an issue and want to discuss with you guys.
Looking at UltraVNC Server's source code, in file
vncserver.cpp
It has the following function.
{
void vncServer::AutoConnectRetry( )
{
if ( m_fAutoReconnect && !fShutdownOrdered)
{
vnclog.Print(LL_INTINFO, VNCLOG("AutoConnectRetry(): started\n"));
m_retry_timeout = SetTimer( NULL, 0, (1000*30), (TIMERPROC)_timerRetryHandler ); //line:2431
}
}
}
I understand this is the definition about its disconnect and reconnect methods, am I right?
On UltraVNC Server side, it has a 30 secs timeout settings.
For the Repeater, when that time is reaching, it will remove the connection and display the
message "connection closed by peer".
I'm wandering about the possiblity to extend that timestamp.
So I changed the 30 secs to 5 minutes, it worked fine.
Even extending to 10 minutes, 1 hour, it's still okay.
Well, is that possible to change the timeout to 1 day or longer?
Would this bring in some new problems/bugs?
Thanks in advance.
addison
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
About the UltraVNC Server's disconnect and reconnect setting
About the UltraVNC Server's disconnect and reconnect setting
Last edited by addison on 2010-07-15 00:41, edited 1 time in total.
Re: About the UltraVNC Server's disconnect and reconnect set
It will work and it won't bring any problems. Ofcourse, It works until your systems power is on
SetTimer is an API call. It just instructs the compiler to generate a timer event after specified time.
SetTimer is an API call. It just instructs the compiler to generate a timer event after specified time.
Regards
Roja
Roja