Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: VNC: list

socksified vncviewer

 

 

VNC list RSS feed   Index | Next | Previous | View Threaded


hakimian at aha

Mar 3, 1998, 2:38 PM

Post #1 of 1 (238 views)
Permalink
socksified vncviewer

The following diffs give me a sockified vncviewer.

-- socks patch --
*** sockets.c.orig Thu Jan 15 10:50:33 1998
--- sockets.c Thu Feb 26 14:35:42 1998
***************
*** 21,26 ****
--- 21,30 ----
* sockets.c - functions to deal with sockets.
*/

+ #ifdef SOCKS
+ #include <socks.h>
+ #endif
+
#include <unistd.h>
#include <sys/socket.h>
#include <errno.h>
*** vncviewer.c.orig Thu Jan 15 10:50:33 1998
--- vncviewer.c Thu Feb 26 14:38:07 1998
***************
*** 21,26 ****
--- 21,30 ----
* vncviewer.c - VNC viewer for X.
*/

+ #ifdef SOCKS
+ #include <socks.h>
+ #endif
+
#include <vncviewer.h>

int
***************
*** 29,34 ****
--- 33,42 ----
fd_set fds;
struct timeval tv, *tvp;
int msWait;
+
+ #ifdef SOCKS
+ SOCKSinit(argv[0]);
+ #endif

processArgs(argc, argv);

*** Imakefile.orig Thu Jan 22 12:06:07 1998
--- Imakefile Tue Mar 3 13:31:18 1998
***************
*** 8,13 ****
--- 8,19 ----
SRCS = args.c listen.c rfbproto.c sockets.c vncviewer.c x.c
OBJS = args.o listen.o rfbproto.o sockets.o vncviewer.o x.o
INCLUDES = -I../include -I.
+
+ EXTRA_INCLUDES = -I/usr/local/include
+ EXTRA_DEFINES = -DSOCKS
+ EXTRA_LDOPTIONS = -L/usr/local/lib
+ LIBS = -lsocks5
+
VNCAUTH_LIB = ../libvncauth/libvncauth.a

all:: vncviewer
-- socks patch --

--
Karl Hakimian
hakimian [at] aha

VNC list RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.