This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Commands to devices over LAN
#5
Hi,

I't makes the socket wait for max 15 seconds for a response, it's not a delay, just a parameter to wait a bit longer when the response is not fast enough. When the response is received within something like 100 ms the timeout will never be used. You can leave it out, but then it will use the default socket timeout and that one is i believe something like 3 seconds.

In your case the timeout is probably not even needed as you don't use the response, you just send a command to the other device.

There must be another reason why your script is hanging ..

Can you show me what you have build?

BR,

Erwin
Reply


Messages In This Thread
Commands to devices over LAN - by AlexLV - 22.06.2017, 17:20
RE: Commands to devices over LAN - by AlexLV - 23.06.2017, 07:14
RE: Commands to devices over LAN - by AlexLV - 24.06.2017, 20:38
RE: Commands to devices over LAN - by Erwin van der Zwart - 24.06.2017, 22:28
RE: Commands to devices over LAN - by admin - 25.06.2017, 06:17
RE: Commands to devices over LAN - by AlexLV - 25.06.2017, 15:13
RE: Commands to devices over LAN - by AlexLV - 26.06.2017, 13:43

Forum Jump: