Replies: 1 comment 4 replies
-
There is no API function to do that. It can be added; should be easy. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have inherited some code which uses neatvnc to implement a VNC server. What I need to add is a limit to the number of connected clients. So when a new client arrives, I want to disconnect the oldest connection. I have looked through the header file and browsed a bit through the code but it is completely unclear to me which function from the API I have to call in order to drop a client gracefully (which then also calls the client_cleanup callback to gracefully close the connection). I want to do drop the connection from within the new_client callback.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions