I am more interested in implementing an Application that will communicate using UDP broadcasts (without Access Points. Just like if it was running on Ethernet). And also creating a TCP connection to communicate between 2 systems.
Is there a simple project for this? I inspected the directory and it seems there are implementations for complex protocols like MQTT, HTTP, etc.
I am looking for something as simple as possible that allows to use TCP connections and UDP broadcasts.
It depends on what port you’re using for the platform.
Take esp32 as example, the xNetworkInterfaceOutput is the interface for FreeRTOS-Plus-TCP to transmit output packet through the network interface. And esp_wifi_internal_tx() is esp32’s wifi API!
You can also try this Networking Demo Project. It uses libpcap as network interface on top of Linux, support on any available network interfaces on your machine.
Although I am looking for an example project where a TCP connection is being made between two ESP32 boards, ideally ESP32-WROOM.
Also a UDP broadcast example would be nice but I think when I have a the TCP project I can make this one.