kaspergrubbe / ruby-vnc

A library for interaction automation of servers via VNC
MIT License
31 stars 17 forks source link

Added option :port when opening a connection #4

Closed xinming closed 5 years ago

xinming commented 11 years ago

This is useful for accessing VNC servers that has non-standard ports, especially in the cases where multiple VNC servers need to be accessed in the same network, thus port forwarding to non-standard ports is used to avoid conflicts.

aquasync commented 11 years ago

I think I'd prefer to stick with the usual convention of VNC clients which is where the number after the colon can be either a display number or a port (ie host:1 and host:5901 are equivalent). Would that work for you?