summaryrefslogtreecommitdiffstats
path: root/client_examples/SDLvncviewer.c
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2009-10-26 22:24:21 +0100
committerJohannes Schindelin <johannes.schindelin@gmx.de>2009-10-30 18:29:05 +0100
commit0a4f1bada4f6e62e1cb4ffd6c34e6c8313c39aef (patch)
treed881e3baa675fa505fc449b955358d72dfee2d71 /client_examples/SDLvncviewer.c
parent3b608cd39b0f335658dc56525d1d099722d27333 (diff)
downloadlibtdevnc-0a4f1bada4f6e62e1cb4ffd6c34e6c8313c39aef.tar.gz
libtdevnc-0a4f1bada4f6e62e1cb4ffd6c34e6c8313c39aef.zip
libvncclient: add a non-forking listen function.
Forking the whole process from deep within a library call does not really work at all with apps that use multiple threads, i.e. every reasonably modern GUI app. So, provide a non-forking listen function so that the caller can decide if to fork, start a thread, etc. This implementation adds a timeout parameter to be able to call the listen function multiple times so that it's possible to do sth. else in between, e.g. abort listening. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'client_examples/SDLvncviewer.c')
0 files changed, 0 insertions, 0 deletions