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

Server connection verification

Post Reply
yshaked
Posts: 6
Joined: 2004-10-26 00:20

Server connection verification

Post by yshaked »

Hi all,
Is there a way to query a running uvnc server for its connection status (connected\disconnected) from another program\command line\registry key etc.

This is in order to verify that a server that has initiated a connection to a viewer has acctually connected.

As I want to do this through a script, I would like the script to check the uvnc has connected and then check every few minutes to verify that the connection is still open

Thanks :shock:
yshaked
Posts: 6
Joined: 2004-10-26 00:20

VNC Connection

Post by yshaked »

Nobody knows the answer to this question???
byteboon
20
20
Posts: 34
Joined: 2004-08-10 23:57
Location: Canada
Contact:

Post by byteboon »

There is no way to query a stock Ultra server for its connection status. The information is available within the server class, but you would need to modify it some way and recompile for that information to be available outside of the exe.

Something you may want to look at is "netstat -b" (on XP SP2) or "netstat -ano" which will tell you which programs have established sockets

You may be able to parse the output from a call to this command to determine if a socket is established or not.

Hope this helps.
<b>Jeremy Cross</b>
Developer
Network<i>Streaming</i>
http://www.networkstreaming.com
Post Reply