HI
I am using VDDK 1.1.1. In the VixDiskLib_ConnectEx method I am not which port number should be used
when connecting to VC 4.0, ESX 3.5, ESX 4.0, ESXi 3.5 and ESXi 4.0
"The port should be the one on which vCenter Server listens for API queries. Specifying a null port allows the
library to select the default communications port. It is likely to be 443 (HTTPS) or maybe 902 (VIX automation).
This is the port for data copying, not the port for SOAP requests."
From VDDK programming guide : page 41.
http://www.vmware.com/support/developer/vddk/vddk111_api_programming.pdf