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

GeorgeFlorian1
Posts: 160
Joined: Thu Jan 31, 2019 2:32 pm

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

Postby GeorgeFlorian1 » Fri Oct 18, 2019 1:16 pm

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 ?

Who is online

Users browsing this forum: No registered users and 67 guests