VNC Server perl script and C++ Code

steve menard edranem "at" dranem.org
Fri Jan 25 12:28:01 2008


Following up in-line

steve menard wrote:
>>>> numbers with each block being
>>>> 300 ports apart, e.g.
>>>>       
>> 1..99,300..399,600..699 and so on
>> Why ports are 300 aparts. is any particular
>> reason there?
>>   
>
100 Viewports will cover 200 java and direct ports
only a single display can be on a listening port with the free version
[although you can have many computers viewing the same screen -display 
port- ]
> Yes    Java Port is 100 less than VNC Port both are required free:
>
>  when you use port :0  it is BOTH 5800 & 5900
>  when you use port :10  it is BOTH 5810 & 5910
>  when you use port :90  it is BOTH 5890 & 5990
> X11 [standard 'desktop at the keyboard' uses 6000] --   so you can't 
> use 6000 or :100
>
> When you use the next batch of available port numbers
>  when you use port :300  it is BOTH 6100 & 6200   [so no conflit with 
> 6000 range ]
>  when you use port :310  it is BOTH 6110 & 6210
>  when you use port :399  it is BOTH 6199 & 6299   [ next port conflict 
> with 6200 ]
>
The next range available is java viewer starting at :6300 so viewer is 
at :6400
When you use the next batch of available port numbers
 when you use port :300  it is BOTH 6300 & 6400   [so no conflict with 
6100-6199: 6200-6299]
 when you use port :310  it is BOTH 6310 & 6410
 when you use port :399  it is BOTH 6399 & 6499   [ next port range 
java- 6500-6599 direct 6600-6699 ]


THIS IS NOT CODED FOR in the wrapper you see ;  it goes only to 99

>
>> 300 ports apart, e.g. 1..99,300..399,600..699 and so on.  Scanning
>> straight
>> through from 1..1000 should work, but will waste time scanning ranges
>> that
>> cannot be used because of port clashes.
>>
>> Regards,
>>
>> -- 
>> Wez @ RealVNC Ltd
>>   
> _______________________________________________
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
> .
>