Page 1 of 1

How to establish a socket connection between client and server that is NOT over http ?

Posted: Fri Oct 18, 2019 1:16 pm
by GeorgeFlorian1
Hello !

TL;DR: I would like to know how to initialize a connection between ESP32 and a server that is NOT over http:
  • Server asks for data from the ESP
  • ESP sends data to server over UDP
I am planning to connect a Radar to an ESP32, take the output of the radar through serial connection and send it to a client that has the IP and Port of the ESP32.

I found something about WiFiClient and WiFiServer being able to do that. The thing is that I need to use ETH, not WiFi. Also, is WiFiClient the only library that has TCP capabilities ?