I did test websocket client going against "ws://192.168.4.1:8266/" today (from module with AP 192.168.3.1), with specifying port. The many edits yesterday did remove the needed int() conversion for port in case port is provided in URL.
With below script the 192.168.3.1 ESP-01s remote controls the 192.168.4.1 ESP-01s, flipping that modules builtin LED every second -- could be another example, or at least basis of an example (the sta_if configuration is in my boot.py, could go here as well):
I did test websocket client going against "ws://192.168.4.1:8266/" today (from module with AP 192.168.3.1), with specifying port. The many edits yesterday did remove the needed int() conversion for port in case port is provided in URL.
With below script the 192.168.3.1 ESP-01s remote controls the 192.168.4.1 ESP-01s, flipping that modules builtin LED every second -- could be another example, or at least basis of an example (the sta_if configuration is in my boot.py, could go here as well):