The issue I am having is attempting to connect to a server behind a router with NAT at my work computer. Because of the NAT, the server has a local IP address and I don't have access to the router to do port forwarding.
It is easy to connect to this computer from home if someone is sitting at the remote computer and simply types "winvnc -connect MYHOMEIP". The problem is to automate this. I currently have it automated with a batch file which uses the NT task scheduler to execute a batch file containg the line "winvnc -connect MYHOMEIP" every minute. This works. I can connect to the office PC by just opening my home VNC client in listening mode and within 1 minute I will connect.
The problem is as follows. I need to manually stop the NT task scheduler from running the connect command every minute as soon as I log in, otherwise a new client window open up every minute! I then have to re-enable the task scheduler before logging out or I can never re-connect.
With this in mind, I suggest a simple option on the server to attempt to connect to a given IP address every x minutes. This eliminates the need to use a task scheduler porgram. In addition the server should not try to make a second connection to the same address when the 1st connection is still open (to prevent a new connection from being opened every minute). Is this difficult to implement?
I have programming experience but don't seem to be able to get a grasp on the source code for this project since it is so many different files, I don't know where to look, but I imagine that changes only needs to be made to a few lines of code to add this functinoality. If I can make any changes myself, please let me know.
Thanks,
Glenn
P.S. One other issue I'm having, even without specifying -autoreconnect in the commandline to the server, when I close one of these multiple client windows, it automatically re-opens. Why is this, and is there any way to stop it? Thanks again.
