This is not true. You're supposed to get a "port range" property and try out the ports from the specified range, then tell VirtualBox which one you selected.<div><br></div><div>This property has to be parsed, which requires a relatively big patch into libvncserver as it can be a comma-separated list of ranges (think "100,200,300-400,500-600", meaning "try 100, if that doesn't work try 200, then 300, then 301, then 302, ....")</div>

<div><br></div><div>-- Christophe<br><div><br><div class="gmail_quote">On Thu, Feb 10, 2011 at 11:13 PM, Vitali Pelenjow <span dir="ltr"><<a href="mailto:Vitali.Pelenjow@oracle.com">Vitali.Pelenjow@oracle.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">VRDE server is supposed to try to bind to one of free ports in the range and then tell VBox which port is used via VRDE_SP_NETWORK_BIND_PORT.<br>


VBox does not manage this.<br>
<br>
BTW, VRDECallbackFramebufferQuery returns a bool. You may want to change the code in VRDEResize to:<br>
    bool fAvailable = instance->mCallbacks-><u></u>VRDECallbackFramebufferQuery(<u></u>instance->mCallback, 0, &info);<br>
    if (!fAvailable)<br>
    {<br>
        return;<br>
    }<br><font color="#888888">
<br>
Vitali.</font><div class="im"><br>
<br>
Howard Su wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
about PORT, seems VBox support port range. is there any way that VBox<br>
will manage the port for different VM? Or we have to pick in my code?<br>
   <br>
</blockquote>
<br>
<br></div><div class="im">
______________________________<u></u>_________________<br>
vbox-dev mailing list<br>
<a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev@virtualbox.org</a><br>
</div><div><div></div><div class="h5"><a href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" target="_blank">http://vbox.innotek.de/<u></u>mailman/listinfo/vbox-dev</a><br>
</div></div></blockquote></div><br></div></div>