diff options
author | dscho <dscho> | 2001-11-22 13:58:38 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-11-22 13:58:38 +0000 |
commit | 3dba58aa29697e968e3ef22481c9ab7f56a47404 (patch) | |
tree | ad4ffb396f1a78225382d4b08e3c7f4e6114c837 | |
parent | be8ad3e48d05fd347e79edde2d1023cda03c0894 (diff) | |
download | libtdevnc-3dba58aa29697e968e3ef22481c9ab7f56a47404.tar.gz libtdevnc-3dba58aa29697e968e3ef22481c9ab7f56a47404.zip |
added cmd line parameters
-rw-r--r-- | x11vnc.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -150,7 +150,14 @@ int main(int argc,char** argv) } } else if(strcmp(argv[i],"-noshm")==0) { useSHM = FALSE; + } else if(strcmp(argv[i],"-runforever")==0) { + disconnectAfterFirstClient = FALSE; + } else if(i<argc-1 && strcmp(argv[i],"-wait4client")==0) { + maxMsecsToConnect = atoi(argv[i+1]); + } else if(i<argc-1 && strcmp(argv[i],"-update")==0) { + updateCounter = atoi(argv[i+1]); } + if(dpy==0) dpy = XOpenDisplay(""); xscreen = DefaultScreen(dpy); |