- Wifi is configuread as an AP
- Static IP assigned (192.168.1.1)
- DHCP Server enabled
Then we made a very simple socket listening on port 80, using the standard socket programming functions: lwip_socket, lwip_bind, lwip_listen and lwip_accept on a thread created at boot.
Any client can successfully join the WiFi network and get an IP address from DHCP server (typically 192.168.1.2, the first available) but once we try to connect to socket listening on 192.168.1.1:80, it takes about 30 seconds to connect.
We don't think it's a matter of CPU performance because any other operation (join/leave wifi network, ping or whatever) is very quick. Only connecting to that listening port is so slow.
I don't think it's a matter of SDK 1.4.0 because we didn't try the same application on previous versions.Statistics: Posted by cloudmonitor24 — Tue Mar 29, 2016 2:47 am
]]>