Topic: vnc server multiple clients


Thank you for your cool work on RemoteViewing.

I was wondering if you managed to get the vnc server to work with multiple RemoteViewing clients ..

The first client always works, the second just hangs.

Any insight that you could provide would be great ..

thanks again


Re: vnc server multiple clients


Sorry for the delay. I've been hiking the Appalachian Trail and so haven't been near a computer.

Are you using RemoteViewing.ServerExample? The way I arranged that sample was more targeted towards 'single remote support call' than a generic server, and it shows -- the example only processes a single connection.

The changes aren't huge though... something along the lines of

while (true) { <-- added
var client = listener.AcceptTcpClient();
} <-- added
// Let's go.

that'd do the trick. smile

Hope this helps