I have a Pi Zero connected to a 4 port USB hub. One port goes to a Wifi dongle, another goes to a keyboard and another goes to a mouse dongle. The last port goes to a Windows PC. I'm trying to communicate with the Windows PC using C++ but don't know how to access that port. I'm using WiringPi to open the port using serialOpen("/dev/ttyxxxx", 9600); My question is: what would I use as a device? I looked at the /dev/ directory and only see tty0-tty63 along with ttyAMA0 (which is the serial port).
Terry