summaryrefslogtreecommitdiffstats
path: root/client_examples
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2012-03-10 21:31:44 +0100
committerChristian Beier <dontmind@freeshell.org>2012-03-10 21:31:44 +0100
commit75bfb1f5d396b2908a9615cd02bebfc952baa045 (patch)
tree9f775fdd6b00f83cdaf7f0fc45601b825fd6521d /client_examples
parentedc75fa4f4f0dbadf7cb21a7511626dd35a3c330 (diff)
downloadlibtdevnc-75bfb1f5d396b2908a9615cd02bebfc952baa045.tar.gz
libtdevnc-75bfb1f5d396b2908a9615cd02bebfc952baa045.zip
IPv6 support for LibVNCServer, part three: make reverse connections IPv6-capable.
Besided making libvncserver reverseVNC IPv6-aware, this introduces some changes on the client side as well to make clients listen on IPv6 sockets, too. Like the server side, this also uses a separate-socket approach.
Diffstat (limited to 'client_examples')
-rw-r--r--client_examples/SDLvncviewer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client_examples/SDLvncviewer.c b/client_examples/SDLvncviewer.c
index 5fa8f2c..c817941 100644
--- a/client_examples/SDLvncviewer.c
+++ b/client_examples/SDLvncviewer.c
@@ -518,6 +518,7 @@ int main(int argc,char** argv) {
cl->HandleTextChat=text_chat;
cl->GotXCutText = got_selection;
cl->listenPort = LISTEN_PORT_OFFSET;
+ cl->listen6Port = LISTEN_PORT_OFFSET;
if(!rfbInitClient(cl,&argc,argv))
{
cl = NULL; /* rfbInitClient has already freed the client struct */