On 04.08.19 18:52, Burak Karaduman wrote:
- I flash the above code to my ESP32 and from a packet sender program i send messages to port 12345 using tcp. I use the official code in RIOT docs . [1]

I was able to run your code on native and open/close multiple connections using netcat.  Everything worked fined.


Personally, I would do the following for further debugging:

1. Check the returned error code by sock_tcp_accept.

2. Enable Debugging in the sock_tcp module and check the output.

3. Test it with native target and the software you mentioned.

4. Test it with your esp32 board and netcat.


Do you try to send multiple TCP messages over a single connection or do you open a new connection each time? Can you provide the output of your test?


Robin

_______________________________________________
users mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to