dovresti approfondire le classi e le tecniche messe a disposizione dal namespace System.Net ....
Ad esempio (ma credo che di modi ce ne siano anche altri) potresti creare un oggetto socket ed invocare il suo metodo Connect es.
codice:
Dim miaSocket As New System.Net.Sockets.Socket(Net.Sockets.AddressFamily.InterNetwork, Net.Sockets.SocketType.Stream, Net.Sockets.ProtocolType.Tcp)        
        miaSocket.Connect(tuoEndPoint)
        If Not miaSocket.Connected Then

        End If