Servers are able to broadcast a websocket message to clients, while clients are able to listen for incoming messages. (check this)
I need to find whether the server or the client is able to listen for all incoming messages, and select the message it desires, and then look up the corresponding IP address.
https://esp8266-shop.com/blog/websocket-connection-between-esp8266-and-node-js-server/
(The cell phone in this example needs to know the IP address of the server). Does the server have to know the IP address of the client?
If the server does not have to know the IP address of the client, the client could tell the server [after the server realizes it is interested]
Can multiple servers connect to a client?
Can multiple clients connect to a server?
Servers are able to broadcast a websocket message to clients, while clients are able to listen for incoming messages. (check this)
I need to find whether the server or the client is able to listen for all incoming messages, and select the message it desires, and then look up the corresponding IP address.
https://esp8266-shop.com/blog/websocket-connection-between-esp8266-and-node-js-server/
(The cell phone in this example needs to know the IP address of the server). Does the server have to know the IP address of the client?
If the server does not have to know the IP address of the client, the client could tell the server [after the server realizes it is interested]
Can multiple servers connect to a client?
Can multiple clients connect to a server?