Connection timeout for Sockets / Websockets #5418
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2016-09-08 by @gfwilliams No, I'm afraid not. You'd have to put a settimeout in and explicitly close the socket if you haven't reached the point of connection Posted at 2016-09-08 by Injecteer where do I find the source code for the require("net") module (for ESP8266)? Posted at 2016-09-08 by @gfwilliams It's all in C. https://github.com/espruino/Espruino/blob/master/libs/network/jswrap_net.c |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-09-08 by Injecteer
Is there a way to configure a connection timeout while connecting to a Websocket as a client?
TIA
Beta Was this translation helpful? Give feedback.
All reactions