summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authorVic Lee <llyzs@163.com>2010-06-29 20:51:08 +0800
committerJohannes Schindelin <johannes.schindelin@gmx.de>2010-07-08 10:06:17 +0200
commit68e7696a27b31034876f594f242a229ff2b74fa4 (patch)
treeaf218ea7055af0f06098cb3a1a89bc32f231cc33 /rfb
parentf76c81941a001bde59a9c4df5445569d2134ab5b (diff)
downloadlibvncserver-68e7696a27b31034876f594f242a229ff2b74fa4.zip
libvncserver-68e7696a27b31034876f594f242a229ff2b74fa4.tar.gz
libvncclient: add ipv6 support
[jes: pulled the "host" declarations into the conditionally compiled blocks where that variable is used. Also fixed non-IPv6 connections.] Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfbclient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index bc4ec14..b38f335 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -384,6 +384,7 @@ extern rfbBool WriteToRFBServer(rfbClient* client, char *buf, int n);
extern int FindFreeTcpPort(void);
extern int ListenAtTcpPort(int port);
extern int ConnectClientToTcpAddr(unsigned int host, int port);
+extern int ConnectClientToTcpAddr6(const char *hostname, int port);
extern int ConnectClientToUnixSock(const char *sockFile);
extern int AcceptTcpConnection(int listenSock);
extern rfbBool SetNonBlocking(int sock);
OpenPOWER on IntegriCloud