Tell me what you want, What you really, really want.

Moderator: Mmiscool

User avatar
By Mmiscool
#73840 Why not use the telnet client.


The esp can reach out to your server with a bidirectional nearly instant communications link.

You can use the telnet branch to respond to incoming msgs and you can send feed back.

Docs link
https://docs.google.com/document/d/1EiY ... c209hxcfbw
User avatar
By lucasromeiro
#73841
Mmiscool wrote:Why not use the telnet client.


The esp can reach out to your server with a bidirectional nearly instant communications link.

You can use the telnet branch to respond to incoming msgs and you can send feed back.

Docs link
https://docs.google.com/document/d/1EiY ... c209hxcfbw

is a great idea, but how would my esp receive the request for a message without doing a port forwarding?
I dont understand How It is possible...
I currently use http socket to do bidirectional communication. but I need to do port forwarding to get external commands.
User avatar
By Mmiscool
#73843 The esp would connect and establish a connection with your telnet server.

There is no need to port forward as the esp requests the connection to the server. not the server requesting the connection to the esp.

It is a bidirectional connection and only has to be established once and continues to stay open indefinitely.
User avatar
By lucasromeiro
#73849
Mmiscool wrote:The esp would connect and establish a connection with your telnet server.

There is no need to port forward as the esp requests the connection to the server. not the server requesting the connection to the esp.

It is a bidirectional connection and only has to be established once and continues to stay open indefinitely.


I understood. but I can not do it this way .... because the connection will have to be made NECESSARILY from some outside place. it can not be the esp that initiates the connection and it remains active for bidirectional communication. therefore, I have several clients and the connection of toods would be active, overloading my web system.