RobotStudio event

SocketConnect take too much time

DenisFR
DenisFR ✭✭✭
Hello,
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:

Avoid fast loops with SocketCreate ... SocketClose, because the socket is not really closed until after a certain time (when using TCP/IP functionality).

But It takes the same time at the first connection.


☑️2024 - RobotStudio® User Group

Tagged: