2017-01-06 12:59 AM
Hi Master G ;-),
can you explain the error 'Init not performed (time-waited connections)'? I don't find anything about this in the documentation.
I get the error when:
1. Close the ports: AT+S.SOCKD=0
2. Do some web things: AT+S.SOCKON=example.com....
3. Close the sockets... AT+S.SOCKC==00
4. Open the port again: AT+S.SOCKD=33000
If I try to open the port some seconds later I don't get the error any more...
Thx & Regards,
Flow
Solved! Go to Solution.
2017-01-17 04:32 AM
Hi Flow,
when a TCP connection is closed, the state machine put the connection resource (into LWIP, it's called 'pcb') into time-wait state. It should avoid that delayed packets can be accepted by a later connection.
Example: there is a configuration variable ('ip_wait_timeout', default: 12 seconds) that affects *not only* webserver. After a connection is received from webserver, served, and closed, connection resource is not cleared till that amount of time expired.
2017-01-15 10:36 PM
Hi,
does anybody have an idea what's this error message shall tell me?
Regards,
Flow
2017-01-17 04:32 AM
Hi Flow,
when a TCP connection is closed, the state machine put the connection resource (into LWIP, it's called 'pcb') into time-wait state. It should avoid that delayed packets can be accepted by a later connection.
Example: there is a configuration variable ('ip_wait_timeout', default: 12 seconds) that affects *not only* webserver. After a connection is received from webserver, served, and closed, connection resource is not cleared till that amount of time expired.
2017-01-18 10:29 PM
Hi Gerry,
good to know - thank you.
Regards,
Flow