Re: Eunet or EuLibnet or TCP socket library (or socket.e)
- Posted by Spock Jun 09, 2016
- 2249 views
ghaberek said...
Spock said...
Are there any suggestions as to how long the maximum length of each stage chould be? I am also thinking that (barring network delays) the timeouts should be based somewhat on the number of active connections.
Maybe have a look at execute_request() in std/net/http.e to see how it handles timeouts.
-Greg
Thanks for the reference. In that example the default timeout for the HTTP send-receive is 15 seconds but can be altered by the user. Other timeouts I have seen range from, eg, 30 seconds upwards. I'll use those figures as starting estimates and refine the concept over time.
Spock