any1 / neatvnc

A liberally licensed VNC server library with a clean interface
ISC License
118 stars 29 forks source link

add systemd socket support #69

Open rhjdvsgsgks opened 1 year ago

rhjdvsgsgks commented 1 year ago

get fd from systemd to make systemd socket works

https://github.com/any1/wayvnc/pull/146 need this

any1 commented 1 year ago

I think that it would be better to have a more generic interface that doesn't depend on systemd. We could have a function called something like struct nvnc* nvnc_listen(int fd). That would also open the doors for adding all sorts of sockets without having to add them to the library.