becvert / cordova-plugin-zeroconf

Cordova ZeroConf Plugin
MIT License
81 stars 57 forks source link

Limiting connections #44

Closed Dipayon3D closed 6 years ago

Dipayon3D commented 6 years ago

Is it possible to limit the number of connections to the server? or at least filter out the connections, like accept or decline a connection ??

becvert commented 6 years ago

This plugin is about network discovery. Is your question about my other plugin websocket-server? Wsserver does not limit the number of connections. It could be a new feature. You can call close in the onOpen handler to decline a connection. Please open an issue with wsserver if you want to follow up that point. thanks

Dipayon3D commented 6 years ago

Yes, I ment the server . . . Sorry for this misleading issue . . . I'll open one on the Wsserver . . . :)