- Thu Jun 17, 2021 11:09 am
#91658
JurajA wrote:pconst167 wrote:JurajA wrote:https://arduino.stackexchange.com/questions/66898/how-to-acheive-fast-and-reliable-communication-between-nodemcus/66899#66899
Nope....... :/
I can already do this.
When I receive data on the ESP, all I receive is the actual data string. How is my CPU going to know who sent me that data? What IP did it come from? The ESP may know that deep down, but my CPU doesn't.
I need to receive that information. And I need to be able to tell the ESP to open and close connections such as telnet.
I need to be able to type a command such as "telnet x.x.x.x port" and have the ESP connect and open the socket.
The question is: can the ESP8266 do this without me having to write some kind of command interpreter for it?
client.remoteIP()
client.remotePort()
https://arduino-esp8266.readthedocs.io/ ... eadme.html
I would need to write a parser for this. That's not really what I need.
To be honest I don't know what I need.
I want to be able to type "ping google.com" on my shell and have my cpu ping google for instance.
I want be able to type "telnet address port" and have my computer run a telnet session.
Things like that.
I want a full tcp/ip stack running on my CPU.
But I don't know... does the esp do this?
Or do I need something else?
Hopefully i explained better now... I am confused about what I need to have in order to run a full tcp/ip stack inside my project