Page 1 of 1

"Port Mode" description

Posted: 2. Oct 2015, 18:37
by Dhaks
Hello Experts,

Can someone suggest or provide some reference, on what is the fundamental difference between selecting "TCP" or "Host Pipe" for Port Mode settings. My VirtualBox compiled, run locally on Linux host. Virtual Box 5.0.2.

I am basically trying to get guest VM talk over the network to a local windows machine. Request does seem to come through but VM response back on that TCP port seems to be the problem.

I assigned a TCP port number in VBox settings, Serial Ports -> Path/Address = 1500. Even though I don't see response coming back from the VM on either Port Mode's , I do sense some difference between Port Mode "TCP" vs "Host Pipe"
Can someone suggest what would be appropriate settings for my use case ?

Thanks.

Re: "Port Mode" description

Posted: 5. Oct 2015, 15:08
by klaus
The "serial port to TCP" conversion is a contribution by Technologov (see https://www.virtualbox.org/browser/vbox ... DrvTCP.cpp), and I had to read the sources to figure out what it does. It seems that you correctly use the port number in the config, but on the other aspects it's hard for me to comment. I never tried the code, and it might be simply subtly broken.

What's your intention behind your setup? The big picture is missing, maybe there's actually a better solution for what you want to achieve...

Re: "Port Mode" description

Posted: 6. Oct 2015, 05:49
by Dhaks
Hi Klaus, TCP port actually worked, it was an issue with the "intermittent" code I wrote, It looks good now. Thanks.