> >I want to use a low number like 50 or something (I just pulled that out
of
> >the air without consulting my "standard port numbers" list). Since
that's
> >less than 5999, can I just use "50" as the registry value or should I use
> >(2^32)-5850 = 4,294,961,446?
>
> For everything under 100, you have to use the formula (otherwise it gets
> interpreted as a display number and VNC adds 5900 to it). For ports >=
100
> yoou should just be able to use the raw port number.
This is completely wrong. The PortNumber registry setting does exactly as
described - it sets the port on which the VNC protocol will be served by the
server. The viewer has problems with ports below 100 for the reasons you
describe, though, so you need to use the "formula" there.
Out of interest, why do people want to move the VNC port to something below
100?
> well. If I was *at all* interested in Win32 programming, I'd whip up a
> separate GUI which could set up the Registry entries and could control the
> WinVNC application and/or service. Maybe someone else would like to do
> that - I think VB should be "powerful" enough to handle this simple task.
It'd be easier to do this in something sensible, like Python. VB is
horrendously overblown for simple registry editting.
Cheers,
James "Wez" Weatherall
--
"The path to enlightenment is /usr/bin/enlightenment"
Laboratory for Communications Engineering, Cambridge - Tel : 766513
AT&T Labs Cambridge, UK - Tel : 343000
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------