SocketConnect take too much time
I'm with a 6.08.01.00 RobotWare.
Robot is talking with a computer using socketdev.
SocketCreate take 20ms to accomplish.
SocketConnect take 500ms.
Then I send and receive data in nearly 30ms.
And When I use SocketClose, server see that socket is closed 500ms after.
Do you see that in yours?
In help it is mentioned that:
But It takes the same time at the first connection.
Avoid fast loops with SocketCreate ... SocketClose, because the socket is not really closed until after a certain time (when using TCP/IP functionality).