And the variable “open” never go to True, I used different IP address for the server and different ports but It never works.
I do not know if it some configuration that I need to do previous or what is the problem. the communication with the PC works because I use the command “ping with the IP address” on the “cmd” and everything works but the “socked_open” does not works
Are you running a server on the robot at port 21? The IP address you are using is the local host for the robot, not another computer. What is the IP address of the computer that is hosting the server at port 21?
I would try running a socket test from another computer and make sure your server running on port 21 is accepting connections. I use SocketTest for testing server connections to make sure that the server is responding correctly.