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