Changing the port number in code
Erik Soderquist
esoderquist "at" mcstamp.com
Mon May 23 15:34:01 2005
someone correct me if I'm wrong, but I think vnc will assume a 2 digit
is display number (offset from 5900) and more than two digit is port
number. so while it *should* be myhost.mydomain.com::3559,
myhost.mydomain.com:3559 will still connect to port 3559 rather than
using 3559 as an offset from 5900. the :: would then be an absolute
requirement only if you are connecting to a port <100, best practice
otherwise.
--- erik
-----Original Message-----
From: vnc-list-admin "at" realvnc.com [mailto:vnc-list-admin "at" realvnc.com] On
Behalf Of Arthur Simpatico
Sent: Friday, May 06, 2005 16:56
To: vnc-list "at" realvnc.com
Cc: 'James Weatherall'
Subject: RE: Changing the port number in code
Wez,
I found an error there. The graphic does not show two colons as the
caption
indicates. It should be myhost.mydomain.com::3559 shouldn't it?
Regards,
Arthur
-----Original Message-----
From: vnc-list-admin "at" realvnc.com [mailto:vnc-list-admin "at" realvnc.com] On
Behalf Of James Weatherall
Sent: May 6, 2005 6:58 AM
To: 'James Weatherall'; 'Andy Bruce - softwareAB'; vnc-list "at" realvnc.com
Subject: RE: Changing the port number in code
Andy / Tony,
Sorry, missed the URL out...
http://www.realvnc.com/products/free/4.1/winvncviewer.html#Connecting
Explains the various ways of specifying the host & port to use.
Regards,
Wez @ RealVNC Ltd.
> -----Original Message-----
> From: vnc-list-admin "at" realvnc.com
> [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of James Weatherall
> Sent: 06 May 2005 11:06
> To: 'Andy Bruce - softwareAB'; vnc-list "at" realvnc.com
> Subject: RE: Changing the port number in code
>
> Andy,
>
> Why not just provide use the port-number syntax instead, then?
>
> Regards,
>
> Wez @ RealVNC Ltd.
>
>
> > -----Original Message-----
> > From: vnc-list-admin "at" realvnc.com
> > [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of Andy Bruce -
> > softwareAB
> > Sent: 05 May 2005 20:18
> > To: vnc-list "at" realvnc.com
> > Subject: Re: Changing the port number in code
> >
> > The problem is the client. When connecting to a server, you can
> > specify the port offset from 5900 via "x:<offset>" in the connect
> > string. I don't know how to make the client use a different base.
> >
> > Regards,
> >
> > Andy
> >
> > Angelo Sarto wrote:
> >
> > >If I may ask, why hardcode? The configuration allows any
> > port to be selected?
> > >
> > >--Angelo
> > >
> > >On 5/5/05, Tony <Tony "at" instaview.com> wrote:
> > >
> > >
> > >>Ok, i am sure its been brought up before, but i need to
> change, and
> > >>hardcode the port #.
> > >>
> > >>59xx will not work, i need to move it to a lower port due
> > to firewall
> > >>restrictions that are
> > >>out of our control, and using SSH/etc for port redirection isnt
> > >>practical since im using systemtools' STRCM to load workstations
> > >>remotely.
> > >>
> > >>This wont need to be changed on the fly, so doing it in the
> > actual code
> > >>makes the most
> > >>sense.
> > >>
> > >>Since I'm not a C++ person, can anyone point me to all the
> > proper places
> > >>to do this im
> > >>sure if i know where to go, i can figure out what to do
> > once im there.
> > >>
> > >>Or is it going to more work then i can do, and I just need
> > to find a C guy ?
> > >>
> > >>Oh, and no, we cant afford to just go buy a commercial
> version that
> > >>supports this.
> > >>_______________________________________________
> > >>VNC-List mailing list
> > >>VNC-List "at" realvnc.com
> > >>To remove yourself from the list visit:
> > >>http://www.realvnc.com/mailman/listinfo/vnc-list
> > >>
> > >>
> > >_______________________________________________
> > >VNC-List mailing list
> > >VNC-List "at" realvnc.com
> > >To remove yourself from the list visit:
> > >http://www.realvnc.com/mailman/listinfo/vnc-list
> > _______________________________________________
> > VNC-List mailing list
> > VNC-List "at" realvnc.com
> > To remove yourself from the list visit:
> > http://www.realvnc.com/mailman/listinfo/vnc-list
> _______________________________________________
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
VNC-List "at" realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list