Closed draeder closed 4 years ago
@draeder first thing to note is every node gets a globally unique ID by default. So no two nodes will share the same ID. If you want client nodes to treat a particular node as the server then the easiest way to accomplish that is to have the clients connect to the server's public address.
Let me know if this answers your question or if you need more info.
Thank you for the clarification.
I've been playing around with your messageboard demo. I'm a novice/intermediate javascript tinkerer, so I might be missing something obvious. Reading through your documentation you state:
I would like to detect if the connection is coming from another server and manage that connection by not allowing it. This way servers would only ever have a unique identifier. The problem is, I can see how to determine there is a new connection, but I cannot see how determine if that new connection shares the same Identifier as the initial one. If that's even possible, the next part I would want is how to disallow that connection.
The use case here is that I would like to Server A and Server B always be unique. If Server A needs to connect to Server B, it should only allow that from client.
Is this possible under the existing API?