summaryrefslogtreecommitdiffstats
path: root/rfb/rfbclient.h
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 /rfb/rfbclient.h
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 'rfb/rfbclient.h')
-rw-r--r--rfb/rfbclient.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index 36ffe13..36c109e 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -347,7 +347,10 @@ typedef struct _rfbClient {
FinishedFrameBufferUpdateProc FinishedFrameBufferUpdate;
char *listenAddress;
-
+ /* IPv6 listen socket, address and port*/
+ int listen6Sock;
+ char* listen6Address;
+ int listen6Port;
} rfbClient;
/* cursor.c */