VMware Communities
apraman
Contributor
Contributor

Urgent : Socket communication between Host and Guest

Hello,

I am using VMWare 6.5 in Vista and created a guest with os Windows XP pro. I have enabled VMCI for the guest and wrote an applicaiton to send data from guest to host and vice-versa using the setting vmci0.id as guest id from the vmx file (host id is 2) and using Datagram socket. Things worked fine. I installed another guest and tried the same but it did not work. After some debugging, I could find that the vmci0.id in the vmx file for the second guest is negative i.e "-1174716412" so I cannot parse this and use it in the socket. My question is why is the id is in negative, if this is a correct behaviour then how can i use this id to communicate from host to guest. I assumed that the vmci0.id will always be positive. Is that correct ?

Can anyone help me as soon as possible as I need solve this quickly.

Thanks and Regards,

Ram

0 Kudos
1 Reply
apraman
Contributor
Contributor

I have found myself. Just open the vmx file and remove the -ve sign and it works!

Ram

0 Kudos