diff options
author | Vic Lee <llyzs@163.com> | 2010-06-29 20:51:08 +0800 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2010-07-08 10:06:17 +0200 |
commit | 68e7696a27b31034876f594f242a229ff2b74fa4 (patch) | |
tree | af218ea7055af0f06098cb3a1a89bc32f231cc33 /rfb | |
parent | f76c81941a001bde59a9c4df5445569d2134ab5b (diff) | |
download | libvncserver-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.h | 1 |
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); |