I have an IoT project which utilizes two ESP8266 which serve as UART bridges over wifi and I'm trying to make them communicate with a Raspberry pi using Python.
And since the protocol used by these chips is telnet, I tried using the telnetlib library to do so, which works pretty well... Except I have not found any way to make it connect to the two ESPs at the same time.
Is it possible to connect to multiple clients simultaneously using this library? If not, is running two separate python scripts both using this library at the same time a good idea? Could I even make those two scripts communicate with each other?