TCP not working, but UDP does work
Posted: Mon Jun 26, 2017 2:12 am
Having a weird problem, the where TCP "accept" is not returning. I can send UDP messages to the device, but it is not receiving a TCP connection. Wireshark shows my request is going out from my PC, but ESP32 is not responding. I get the same problem with the this https://github.com/cmmakerclub/esp32-webserver.git (i.e. no response). And I get the same problem with this code: https://github.com/nkolban/esp32-snippe ... ets/server.
I'm familiar with sockets, built many socket solutions in the past, but this one has stumped me. I tried turning on LWIP_DEBUG which provides lots of other output, but nothing to help with this unfortunately.
So I'm hoping there's some simple thing I'm missing, like a firewall setting on the ESP32 to open the TCP port or something ?
Here's my code.
https://github.com/clovett/firefly/tree ... networking
The UdpMesageStream works great. The TcpMessageStream does not work yet...
I'm familiar with sockets, built many socket solutions in the past, but this one has stumped me. I tried turning on LWIP_DEBUG which provides lots of other output, but nothing to help with this unfortunately.
So I'm hoping there's some simple thing I'm missing, like a firewall setting on the ESP32 to open the TCP port or something ?
Here's my code.
https://github.com/clovett/firefly/tree ... networking
The UdpMesageStream works great. The TcpMessageStream does not work yet...