arduinoWebSockets icon indicating copy to clipboard operation
arduinoWebSockets copied to clipboard

Using WebSockets with both Ethernet and Wifi simultaneously (at runtime)

Open shardul10 opened this issue 2 years ago • 4 comments

Is there any specific reason this library can be used only with one network interface at a time (decided at compile time using #define). I was exploring the possibly of using it for both ethernet W550 (externally connected through SPI) and built in WiFi on ESP32. Also possibly another client for GSM. The interface to be decided at runtime depending on user preference (or availability).

Is this possible? If not, any recommendations?

@Links2004, appreciate your help.

shardul10 avatar Jul 25 '22 04:07 shardul10

Anyone? Would really appreciate some help with this.

shardul10 avatar Aug 10 '22 03:08 shardul10

Anyone? Would really appreciate some help with this.

Hello, exactly the same need for me, by chance, did you find any solution? I am desperately looking for a solution but so far, no success....

infrafast avatar Dec 04 '23 18:12 infrafast

I am using gilmaimon/ArduinoWebsockets@^0.5.3 instead of this library.

shardul10 avatar Dec 05 '23 03:12 shardul10

Thanks a lot I gave it a try but got some compilation issue, but I think I found an alternative : https://github.com/skaarj1989/mWebSockets if it may help

infrafast avatar Dec 05 '23 12:12 infrafast