'Declaration Public MustOverride Function Handshake( _ ByVal socketStream As Stream, _ ByVal hostName As String, _ ByVal port As Integer _ ) As Byte()
'Usage Dim instance As ProxyClient Dim socketStream As Stream Dim hostName As String Dim port As Integer Dim value() As Byte value = instance.Handshake(socketStream, hostName, port)
Parameters
- socketStream
- A System.IO.Stream that represents the network stream to the proxy server.
- hostName
- A System.String that represents the address of the SSH server to connect to.
- port
- A System.Byte that represents the port number of the SSH server.
Return Value
A System.Byte array that contains any data that might have been received immediately after the handshake completed. Can be a null reference (Nothing in Visual Basic).