I use socket to communicate with Roboguide, such as:
Code
class SocketController():
self.send_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.recv_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
ret = self.send_socket.connect_ex((address, 5966))
ret = self.recv_socket.connect_ex((address, 5967))
I can connect successfully with Roboguide in my windows system use 'localhost', such as
But I cannot build connection when I use VMware in the same machine.
In TCP/IP protocol of Roboguide, my parameter is 'port1#1 IP addr: 192.168.1.100', 'Router: 192.168.1.1', 'OP Panel IP addr: 192.168.0.100'.
My VMware network parameter is 'IPV4 address is 192.168.75.129', 'DNS and default Route is 192.168.75.2'.
I found if I try 's = SocketController("192.168.75.1")',
The status showed in Roboguide would switch from 'waiting for connection' to 'connected', but it has error 'unknown command received = 150994944'
Really appreciate any suggestion!