Testing a connection to vnclistener

James Weatherall jnw "at" realvnc.com
Wed Feb 16 11:59:00 2005


Tristan,

You probably want to ask this program on a VB developers list, since what
you're asking has nothing to do with VNC as such, and is really "how to I
connect to a TCP port on another machine using VB".

Cheers,

Wez @ RealVNC Ltd.


> -----Original Message-----
> From: vnc-list-admin "at" realvnc.com 
> [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of Tristan Leask
> Sent: 16 February 2005 10:57
> To: vnc-list "at" realvnc.com
> Subject: Testing a connection to vnclistener
> 
> Hi all,
> 
> I have written a wrapper for winvnc so that a user doesn't have to
> configure it to connect to our listener.  With some users, 
> their IT guys
> have blocked lots of ports which thus stops us from using vnc to help
> them.  What I would like to do in our wrapper program, is to use the
> mswinsock control to try to connect to the listener first.
> 
> Has anyone got any example vb code to see if a connection can 
> be made to
> a vnc viewer at a particular address and port number?
> 
> Cheers all,
> 
> Tristan Leask
> 
> Software Developer
> Marine Software Ltd
> 
> trgl "at" marinesoftware.co.uk
> www.marinesoftware.co.uk
> 
> **************************************************************
> **********
> Unless otherwise agreed expressly in writing by Marine 
> Software Limited,
> this communication is to be treated as confidential and the 
> information
> in it may not be used or disclosed except for the purpose for which it
> was sent. 
> 
> If you are not the intended recipient of this communication you should
> destroy it without copying, disclosing or otherwise using its 
> contents. 
> 
> Please notify the sender immediately of the error.
> **************************************************************
> **********
> _______________________________________________
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list