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.
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, ....") -- Christophe On Thu, Feb 10, 2011 at 11:13 PM, Vitali Pelenjow < vitali.pelen...@oracle.com> wrote: > 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. > VBox does not manage this. > > BTW, VRDECallbackFramebufferQuery returns a bool. You may want to change > the code in VRDEResize to: > bool fAvailable = instance->mCallbacks->**VRDECallbackFramebufferQuery( > **instance->mCallback, 0, &info); > if (!fAvailable) > { > return; > } > > Vitali. > > > Howard Su wrote: > >> about PORT, seems VBox support port range. is there any way that VBox >> will manage the port for different VM? Or we have to pick in my code? >> >> > > > ______________________________**_________________ > vbox-dev mailing list > vbox-dev@virtualbox.org > http://vbox.innotek.de/**mailman/listinfo/vbox-dev<http://vbox.innotek.de/mailman/listinfo/vbox-dev> >
_______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org http://vbox.innotek.de/mailman/listinfo/vbox-dev