From 68e7696a27b31034876f594f242a229ff2b74fa4 Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Tue, 29 Jun 2010 20:51:08 +0800 Subject: 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 Signed-off-by: Johannes Schindelin --- rfb/rfbclient.h | 1 + 1 file changed, 1 insertion(+) (limited to 'rfb') 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); -- cgit v1.1