YY wrote:Found the -autoreconnect is not function on 1.0.9.6 server.
Test condition:
UVNC server running as service on WinXP, excute following command:
Code: Select all
winvnc.exe -autoreconnect -connect xx.xx.xx.xx (to a listening viewer)
or
Code: Select all
winvnc.exe -autoreconnect ID:1234 -connect xx.xx.xx.xx (to a repeater)
No reconnect action is taken place if the communication is dropped.
Has tested the Server 10961 (Apr.26). Now the -autoreconnect comes back, but also found some issues (some may be existed in past version but not yet reported, I don't have enough time to verify)
First Problem
The interval between each reconnection will increase by 10 seconds if not got connected.
In an actual measure, the time values between each reconnection are (in seconds):
5, 15, 25, 35, 45, ........
The problem exists in all operation mode:
- service with autoreconnect defined in service_commandline=
- service and then autoreconnect injected from winvnc.exe
- application mode
Second Problem
The server will incorrectly making connection to viewer even connection has been establish.
Here is the scenario of this issue:
1. the server is running as a service
2. A user excutes a command to a listening viewer:
winvnc.exe -autoreconnect -connect remote_viewer_A
3. The user excute the command again (may be to another viewer, may be he mistype the spelling of remote_viewer_A):
winvnc.exe -autoreconnect -connect remote_viewer_B
Now the remote_viewer_B will be connected, but there are TWO connection sessions made.
Here is a more interesting scenario:
1. the server is running as a service
2. A user excutes a command to a listening viewer:
winvnc.exe -autoreconnect -connect remote_viewer_A (assume remote_viewer_A is not running)
3. Then the user excute the command again:
winvnc.exe -autoreconnect -connect remote_viewer_B (remote_viewer_B is not running either)
4. the user excute the command again:
winvnc.exe -autoreconnect -connect remote_viewer_C
Well the remote_viewer_C will be connected, but the server will KEEP ON MAKING new connection to the remote_viewer_C.
Here is another similar scenario:
1. the server is running as service with service_commandline=-autoreconnect -connect remote_viewer_A
2. A user excutes the command winvnc.exe -autoreconnect -connect remote_viewer_B
Now the remote_viewer_B will be connected, but there are TWO connection session made.
Third Problem
There is no way to cancel the autoreconnect operation that has instructed to the server, unless the server is restarted.