bshambaugh / BlinkyProject

4 stars 0 forks source link

Need to find a way to find to connect with a particular device with a particular did:key #18

Open bshambaugh opened 1 year ago

bshambaugh commented 1 year ago

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?

bshambaugh commented 1 year ago

A websocket architecture may not be the way to do this. In order to find a particular did:key with no knowledge of the IP address, just a knowledge of the network, would require a device that listens to all activity on the network. At the moment, I am not certain how to construct this device (on the wifi PHY layer) or what is is called if it already exists.

bshambaugh commented 1 year ago

https://hackmag.com/security/esp32-sniffer/