ultravnc / UltraVNC

UltraVNC Server, UltraVNC Viewer and UltraVNC SC | Official repository: https://github.com/ultravnc/UltraVNC
https://uvnc.com
GNU General Public License v3.0
793 stars 188 forks source link

How to check if UltraVNC's port is open without receiving an error #196

Closed panreyes closed 2 months ago

panreyes commented 3 months ago

I would like to check remotely if UltraVNC Viewer listener port is open without triggering any errors, like this one: image

Is there a way to do that?

RudiDeVos commented 3 months ago

If it is for checking is the pc is online and vnc is running you can use the echo port. From 1.5.0.0 UltraVNC server has a echo udp port on the tcp vnc port.

panreyes commented 3 months ago

That works for winvnc, but not for vncviewer, right? In any case, I would like to avoid having 2 ports forwarded in the router.

I think I can solve it with an option that will just disable throwing the error "End of Stream", and with the "No status" option will be good enough for my case. I'll send a PR if I manage to make it good enough.

RudiDeVos commented 3 months ago

Uups sorry, the viewer generate that popup and require code change to fix

panreyes commented 2 months ago

Solved by PR https://github.com/ultravnc/UltraVNC/pull/199 ! 🥳