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

Detecting a viewer connection from server

Post Reply
young16368
Posts: 1
Joined: 2020-03-02 13:51

Detecting a viewer connection from server

Post by young16368 »

I have a vb6 program which has a shell "winvnc.exe -autoreconnect ID:xxxx -connect <ip> -multi - run" call. I am using a repeater. I see the icon in the system tray turns from green to yellow when the viewer connects so the repeater must be reporting the viewer connection to this instance of winvnc.
How can I tell programmatically when a viewer connects to this server instance.
User avatar
/dev/null
8
8
Posts: 23
Joined: 2020-01-31 07:08

Re: Detecting a viewer connection from server

Post by /dev/null »

1) worst case scenario you could read log file and parse it
2) also not the best, sniff traffic to application/port if there is higher traffic than idle connection then you have someone active
3) hook to vnc proccess and read memory the most reliable
4) ask for feature and hope it get implemented

That or there is some secret way I didn't think of
Post Reply