Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

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: